> I have two bitmaps with different palettes. Now, I need them to
> display on one screen. So I need to convert both bitmaps to
> standard palette (256 colors). How can I do it? I've tried few
> things but nothing works. When I blit offscreen window with both
> bitmaps to screen the colors are awful (meaning that under
> indexes in bitmaps are wrong RGB values. There are from previous
> bitmaps and not from standard palette)..:-((

if you use pilrc, it will map the bitmaps to the standard OS
palette when it parses the bitmap and converts it. done. :)
if you are setting your own custom palette in the application
it gets a bit trickier - not much extra work tho :)

you just need to know what you are doing.

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]

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

Reply via email to