> > 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.

  or, if you dont need the family :) BITMAPCOLOR :)

> > 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"

  BITMAPCOLOR ID 2001 "8bpp.bmp" 

  will work too, if you are only running/needing the bitmap on a color
  device :) however, most likely, a family will be used. you wont be
  limiting your software to only color right? :P

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


-- 
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