Robert,

>In the end, this is probably the way you will have to go.

OK; just didn't seem like it *should* have worked to uncompress it via
BmpCompress(), unless I'm reading the docs wrong.

>The color depth support is independent of the device capability, so as long
>as the OS supports greater color depths, you can always create offscreen
>windows/bitmaps of any color depth you like, provided there is enough
>memory.

OK.  If I create an offscreen window with the bitmap, I may just as well use
WinGetPixel() at that point and not need to copy it anywhere else.  Just seemed
like BmpCompress() should have been more efficient...

>Is there any possibility that the uncompressed bitmap size exceeds available
>memory? It's unlikely that is the problem, but I just wanted to make sure.

Not in this case.

>Hope this helps!

Now that I know I can create a color bitmap window even on non-color devices (of
at least OS 3.5), that will solve the problem.  

Thanks
Doug

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

Reply via email to