Sorry for English. I'm using MS spelling checker.
I have to apologize.
In my JPEG, GIF etc. converter to Pilot images I had made wrong calculations
of numEntries in color table type. It seems that PILRC guys made same
mistake. (No I'm not using yours code :-)
LP, Peter
Bob Ebert <[EMAIL PROTECTED]> wrote in message
news:9420@palm-dev-forum...
>
> At 10:40 AM +0200 22-04-00, Peter Hribar wrote:
> >The problem is WinPaintBitmap (or WinDrawBitmap) that display only part
of a
> >PALETTED image. Or BmpGetBits which puts pointer appr. 15000 bytes from
> >beginning of bitmaps pointer. Therefore, if I shift pointer back it's all
> >OK.
>
> Huh?
>
> You are doing something weird, I think. You should not have to mess with
> any pointers to bitmap structures. Look at the struct defined in
Bitmap.h.
> The palette (aka color table) sits in between the header (the struct) and
> the actual bitmap data.
>
> Your english is a little confusing, but it sounds as though you might be
> changing things so that the bitmap data is not appearing in the right
> space. A 256-entry color table should only be 1K, not 15000 bytes!
>
> --Bob
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html