>Unless I am really losing it, Does anyone know if there are any known bug
>with BitmapSize() that causes it to return an incorrect value if the
>Bitmap is compressed.

Well, the size of a compressed bitmap is stored in the first UInt16 of the
Bits of a compressed bitmap.  So if the tool that compressed the bitmap
didn't store the data correctly, BmpSize() would not detect that and would
return you whatever was there.

What tool created it? Try looking at the structure to see if that value is
correct or not, particularly when you change the bitmap and thus get its
compressed size to change.

-David Fedor
Palm Developer Support



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to