Hi Chris,

The one piece of info you'd need to know about the Palm bitmap structure
that would explain this is that rows are aligned on a 4 byte boundary.
There is a fairly reasonable description of the bitmap structure in the
bitmap.h header file.

DeAnna

-----Original Message-----
From: Chris DiPierro [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 4:39 PM
To: Palm Developer Forum
Subject: Bitmap internal structure?


Can anyone tell me the internal structure of a bitmap's data?

For instance, I created a 3x3 @ 8 bpp bitmap in Constructor and then
grabbed
a pointer to it. When I examine the resulting BitmapType, I see that
there's
4 bytes per row...this seems odd, as I would have expected 3 bytes per
row.
So can someone either explain (or point to a link) of what format a
bitmap's
data is in?

Thanks!




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

--
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