Am Fre, 2002-09-20 um 00.40 schrieb Palm Guy:

Hi,

> stuff I found on the web. There has to be a simple solution to this - Palm 
> game authors must use this all the time. So, who can recommend a good, 
> simple, hopefully inexpensive program/utility that will let me open my 8 bit 
> color image, easily convert this to 4 bit grayscale, then save it as a new 
> image?

In the same way you define 4bpp images with Constructor, you can do it
with pilrc. Use a bitmap family and just use the colour image as
grayscale one and pilrc will adjust the colors (probably not perfectly
either).

> I also noticed that PilRC allows you to specify a transparent color for 8 
> bit color images and for bitmap families. It appears that this is not useful 
> for 4 bit mode. Is it really the case that I must go back to using a 
> separate mask image to achieve image transparency in 4 bit drawing mode? Or 
> is it still possible somehow to specify a trnsparent gray level?

IIRC it is not possible. You could of course patch pilrc to include the
transparency information for grayscale, too. I did this once and IIRC it
worked, though I am not sure how much this is compatible for all devices
8-)

Daniel Seifert




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

Reply via email to