Board index » delphi » Large bitmap problem

Large bitmap problem

Hi,
i need help, how to create bitmap larger than moreorless 5Mpx on Win98,
When i create (set Height or Width property) such bitmap, i get a
EOutOfResources error with message Invalid Parameter.
This doesn't happen on Win2k or WinNT, so I think it might be Win98
problem...

any clue would be appreciated

thanx in advance
razz

 

Re:Large bitmap problem


Hi,

  What you need is a bigbitmapviewer and it can be found at:
http://www.efg2.com/Lab/Library/Delphi/Graphics/ComponentsAndPrograms...
 and also in the http://www.undu.com/DN970101/00000013.htm website
  main thing is to work with memory-mapped files instead of loading the
whole image into memory.

Liran.

Re:Large bitmap problem


Thanx
hope this will help

razz

Quote
"Liran Shahar" <liran_sha...@hotmail.com> wrote in message

news:3b573e22_1@dnews...
Quote
> Hi,

>   What you need is a bigbitmapviewer and it can be found at:
> http://www.efg2.com/Lab/Library/Delphi/Graphics/ComponentsAndPrograms...
>  and also in the http://www.undu.com/DN970101/00000013.htm website
>   main thing is to work with memory-mapped files instead of loading the
> whole image into memory.

> Liran.

Re:Large bitmap problem


In W9x, you will not be able to create very large bitmaps....
If you want do that you need to update to NT or W2000.

Also be shure to set the bitmap.pixelformat.
Depending of this the size vary how large you can create a bitmap.

Regards
Toni G.

razziel <r.mato...@sh.cvut.cz> schrieb in im Newsbeitrag:
3b574377_1@dnews...

Quote
> Thanx
> hope this will help

> razz

> "Liran Shahar" <liran_sha...@hotmail.com> wrote in message
> news:3b573e22_1@dnews...
> > Hi,

> >   What you need is a bigbitmapviewer and it can be found at:

http://www.efg2.com/Lab/Library/Delphi/Graphics/ComponentsAndPrograms...
Quote
> >  and also in the http://www.undu.com/DN970101/00000013.htm website
> >   main thing is to work with memory-mapped files instead of loading the
> > whole image into memory.

> > Liran.

Other Threads