> My old app has a bitmap declared by a .r file, compiled by PalmRez,  as
> follows:
> 
> read 'Tbmp' (3500) "pic1.bin";
> 
> When I rewrite this with .rcp file using PilRC  ( after renaming the
> extension to .bmp because PilRc complaines about the extension )
> 
> BITMAP ID 3500 "pic1.bmp" BPP1
> 
> I get the following error : Bitmap not monochrome, 16, 256, 16bit, 24bit or
> 32bit color.
> 
> How can I fix this problem ?

well, i fyou did pic1.bin --> pic1.bmp, of course it'll barf. since
you already have the 'resource' generated, you can use this:

  DATA ID 3500 "pic1.bin"

you only use the BITMAP tag if you have the bitmap as a real bitmap 
file (ie: a .bmp file), which pilrc can then parse and generate the real
bitmap resource from.

---
Aaron Ardiri
PalmOS Certified Developer
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php

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

Reply via email to