At 12:01 AM +0100 28-01-00, David Fedor wrote:
>If so, I'm fairly certain that doing a bitmap family with three depths in
>it, with the same bitmap id for each depth, would do it. It'll take a
>"full share" of memory since the conversion happens on the desktop.
Yes, that will work.
If you're careful not to specify a color table, or transparency, or RLE
compression for the 1-bit deep image, then you will be able to draw the
same bitmap on a 2.0 device.
If you're careful not to specify transparency or RLE encoding on any of the
1-, 2-bit deep images, then you'll actually get grayscale on 3.0, 3.1, and
3.2 devices. (The same goes for 4-bit grayscale on devices running the 3.3
release of the OS.)
The 8-bit deep image is only useful on devices running the 3.5 (or later)
version of the OS, and in that depth you can specify any combination of
transparency, colortable, and compression.
(In fact, you can use any combination for all these settings for any depth
on a 3.5 and later device, but if you do this then the OS won't be able to
render the same bitmaps on earlier devices, and the behavior is undefined.
That is, it'll probably crash.)
--Bob
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html