> I am trying to use the BITMAPFAMILY and I get the following error:

  please direct any "PilRC" questions directly to me in future here:

    [EMAIL PROTECTED]

> MyProg.rcp (24): warning: BitmapGrey uses "non grey" colors

  a very very common message that occurs unless you use a program
  that produces Microsoft Windows bitmap files. i use MSPaint :)
  lame, but it works.
  
> Couple of things:
> 
> 1) I was using Paint Shop Pro but it does not have the ability to
> do 2 bit per pixel greyscale (at least the version I have).  It does 
> use GreyScale (8 bits).  Anyway I tried 4 bpp (16) colors but that is 
> what is apparently causing the problem. 
> 
> Would this produce the wrong type of bitmap file?  I tried it; get 
> the error; but the image looks ok on the palm.
> 
> 2) What image program is suitable for creating 1, 2, 4 greyscale 
> images for the palm?

  ok.. i will be working on a patch as soon as i get some time to 
  sit down and scratch my behind that will accept any bitmap depth
  for each one and do a RGB->Index conversion depending on the 
  r,g,b color table index.

  there have been a number of small reports of tiny bugs, which i
  will also work on :P

  hang in there, 2.5b2 will come out soon. for now, use MSPaint and
  when you create bitmaps, the following rules apply:

    1bpp -> monochrome windows BMP required
    2bpp, 
    4bpp -> 16 color windows BMP required
    8bpp -> 256 color windows BMP required.

  when you do grayscale, there are some simple rules - but you can 
  look at the code to see how this works exactly. you will also have
  to make sure that the 256 color bitmap contains a colortable (with
  256 entries) and that the image is NOT compressed.

  the next version will be "smarter" with this. :> i promise :>

  cheers.

az. 
--
Aaron Ardiri 
Java Certified Programmer      http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to