On Thu, 9 Aug 2001, Aaron Ardiri wrote:

> > Ok, say I want a 4 bit grayscale bitmap.  How do I save the file so that
> > it is only 4 bit depth?
>
>   you dont :)
>
> > If I have to save it as a 16 color bitmap, which color indexes would be
> > used for the 4 colors? Are you saying that if you have a bitmap family
> > that the bitmaps might be:
> >
> > 1bmp, 4bmp, 4bmp, 8bmp and pilrc would convert the 2nd bitmap to 2 bit?
> > If so, which colors are chosen for the 4 colors from the 16 in the
> > original file?
>
>   well, 16 grays will need to be saved as 256 color min.. 16
>   color bitmap doens't support 16 different grays :) it uses
>   a VGA palette
>
>   1bmp, 4bmp, 8bmp, 8bmp would work
>
>   if you take a look at the pilrc sources, bitmap.c - you'll see
>   this (the code is open source, go get it):

This is all to confusing.  I thought that the bitmapfamily used:
1, 2, 4, 8 bit bitmaps.

I can create 1, 4 and 8 rather easily so it would seem that my bitmap
family should be:

1bmp, ?, 4bmp, 8bmp

My only confusion is how to create the '?' bitmap.  I can't save the
image as 2 bit so I must save it as 4 bit, I guess.  Maybe I am more
confused that I thought.  Why do you show 8bmp in the 4bmp position,
when it is possible to save the 4 bit bitmap?



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

Reply via email to