Hi All
I have recently created a Palm game that runs great on color devices (eg 
m130) but runs REALLY slow on a B/W device with an identical processor(eg 
m125). The problem is that I am using the same image format for both color 
(8 bit drawing mode) and grayscale (4 bit drawing mode), ie 8 bit color BMP 
images. I am pretty sure that the WinDrawBitmap and WinPaintBitmap functions 
are slow in the grayscale device (m125) because they probably have some 
format conversion stuff to do to convert my 8 bit color images to work in 
the 4 bit drawing mode. Can any of you graphics experts confirm my 
suspicions?

Now as to how to solve the problem. My first need is for a good image 
conversion utility that will allow me to save my 8 bit color BMP images into 
4 bit grayscale images. Much to my annoyance, just about every Windows 
draw/paint program I have found does NOT support conversion to 4 bit 
grayscale. I tried Paint Shop Pro, Corel Photo-Paint, and some lesser known 
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?

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?

Thanks
Marc
[EMAIL PROTECTED]





_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

Reply via email to