I'd like to access directly the Bitmap data (in order to inverse the image for instance).

To do that I use BmpBitsSize () and BmpGetBits ().

I called the function  BmpBitsSize (bmp) where bmp is depth 2
(black, white, gray and transparent). Its size is 32 x 60 pixels.

- on Palm Vx for instance (no gray) the BmpBitsSize () function returns
  240, which is fine, since 240 * 8 bytes = 32 * 60.

- surprisingly on Palm IIIc for instance the same value 240 is returned,
  while I would have expected 2 x 240 (4 colors).

Can somebody explain to me where the problem is and how to fix it.

Thank you.


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

Reply via email to