Robert Moynihan at [EMAIL PROTECTED] wrote: > Terry, you didn't mention trying 'nativeFormat'? Bob. > > Terry wrote: > >> I have a bitmap that is 4 bit with a color table. It draws perfectly into >> the main screen. But, when I try to draw it to an offscreen window (and copy >> it back to the main screen) it converts it to a grayscale image. Why? I >> tried creating the image with screenFormat and genericFormat and they both >> behaved the same. >> >> It acts like it is ignoring the color table in the bitmap. >> >> This is using POSE with the color OS 3.5 ROMs. >> >> Thanks, >> Terry
Thanks for the suggestion. I tried nativeFormat too. They all looked the same as far as I could tell with my eyes. After I draw the bitmap to the offscreen window, I also draw some blue rectangles (which are supposed to match the blue in the bitmap), and they show up as blue! But, the bitmap is all gray. So, the offscreen window is capable of colors. Terry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
