Yikes! "And it seemed like such a simple question." thanks to you and Aaron
for the various ways to approach the bitmap question. I thought there would
be a simple answer. ;-)
"Richard Burmeister" <[EMAIL PROTECTED]> wrote in message
news:60138@palm-dev-forum...
>
> > From: Nullife
> > Yet Another Newbie: I'm using paint to make a red on white
> > bitmap that is 12x12 pixels. I use a Visor, so it supports color.
> > When I use MS Paint, I have tried every output type, 16bit, 256bit,
> > 24gazillion, etc and yet I get B&W onscreen.
>
> You must be creating a BITMAP instead of a BITMAPFAMILY. On the Palm OS,
> you need to use a Bitmap Family to create a color bitmap. When you
display
> the bitmap family, the OS picks the bitmap that corresponds most closely
to
> the current bit depth of the device.
>
> >
> > Q1: If I don't have "constructor", but I have "pilrc", can I
> > use MS Paint bitmaps?
> >
>
> Yes. For PilRC, the syntax is:
>
> BITMAPFAMILY [<ResType.s>] ID <BitmapResourceId.n>
> <BitmapFileName.s> ... <BitmapFileName.s>
> [NOCOLORTABLE] [COLORTABLE]
> [TRANSPARENT r g b] [TRANSPARENTINDEX index]
> [NOCOMPRESS] [COMPRESS] [FORCECOMPRESS]
>
> For example,
>
> BITMAPFAMILY ID 2001 "1bpp.bmp" "2bpp.bmp" "4bpp.bmp" "8bpp.bmp"
"16bpp.bmp"
>
> >
> > Q2: Since they're small, can I make an image somehow, like the fonts?
> >
>
> Use MS Paint to create the bitmaps. (Or use something else if you have
some
> other favorite graphics editor.)
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/