Hi-

I am trying to display greyscale bitmaps in my application, which is 
a palmcall app of a Palm VII PQA. I would like to display a bitmap in 
greyscale so as to not break the expectation of the user to see 
greyscale in a web app. So, I have pasted in a grey bitmap in 
constructor. The bitmap is set to 4-greys, and it seems to be correct 
in constructor. Upon palmcall execution, I check the screenmode, and 
it is in 2-bit mode. Then, I use WinDrawBitmap to draw the bitmap. 
But the bitmap appears in black & white mode. I am not sure where my 
plan is breaking down. Here are my thoughts, please let me know if 
you have more info:

1) Construtor doesn't actually create 2-bit images in the saved files.
2) PalmRez converts 2-bit bitmaps to 1-bit.
3) WinDrawBitmap doesn't currently draw 2-bit bitmaps.

I imagine that one of these reasons is the one getting me. Does 
anyone know which one and what a workaround is?

Thanks,

Alan Pinstein
Synergy Solutions, Inc.
http://www.synsolutions.com
1-800-210-5293

Reply via email to