I believe there's no "easy" way to do this.
BitmapSize = width * height * bitdepth
you might have to round that up to an even word boundry
Then add in the size of the BitmapDirectInfoType and ColorTable, if they
exist.

Matt Henry

"Mark Clayton" <[EMAIL PROTECTED]> wrote in message
news:92865@palm-dev-forum...
>
>
> Hi All,
>
> I've been looking at the signature example.  I want to capture the
> signature to a database.  This is the part of the example code that
> is only supported on OS 3.2 or less.  I've been looking at the docs
> trying to figure out how to do it for OS 3.3.  Can anyone shed some
> light on this?  It's easy to get a pointer to the bitmap, but how
> do I determine the size of the bitmap to save it to a record?
> Eventually, I want to hotsync it back tho the desktop.
>
> Many Thanks,
> Mark
> --
> Mark Clayton
> S/V Brown Pelican
> http://www.brown-pelican.com
>
>
>
>



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

Reply via email to