1. RE: large bitmap
- Posted by Mike <vulcan at win.co.nz> Feb 05, 2002
- 386 views
Tone, I have just now sent an update of my dib library to RDS. The only adjustments made in this release were adding 2 new demos. These demos show zooming and displaying only part of a bitmap (in this case a dib). If your computer has enough memory (ram) then this will not be a problem but to load 100mb might take some time.. Mike tone.skoda at siol.net wrote: > First, how can I read only a part of bitmap? Let's say I have a very > large bitmap, 100MB, and I want to only read one rectangle out of it. > This is Windows bitmap (I am a little confused what types of bitmaps are > there, DIB?, ...) > > Second, I want to display that large bitmap zoomed out. I was thinking I > would only read every third byte from file, or whatever zoom there is, > so that loading would be much faster, especially if bitmap would be very > zoomed out.
2. RE: large bitmap
- Posted by Mike <vulcan at win.co.nz> Feb 06, 2002
- 393 views
Tone, tone.skoda at siol.net wrote: > There is some cool stuff but not what i need this moment > I want to read from file only data needed, so that loading will still be > fast. > > There is a bug: You need to change > integer DIBDC, DIB > to > atom DIBDC, DIB etc.. Someone else said the same thing but I thought I fixed all that before... Perhaps I used an old version of the library for this release. nevermind i'll fix all that right now. Mike