thanks for the reply.
Unfortunately, there was no blank line at the end of my palette file.
I tried removing the trailing space on the last line, and tired adding a blank line, just for grins. In all three cases, I get solid black bitmaps.
Does anyone have any other ideas or suggestions? I'm getting desperate!
Thanks,
Ted
On Wednesday, November 5, 2003, at 12:22 AM, Chris Apers wrote:
This problem occured if you have a blank line at the end of your palette file. Just remove it.
----- Original Message ----- From: "Ted Peters" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, November 04, 2003 6:20 PM Subject: PilRC palette/bitmap troubles
I am trying to get 8bpp bitmaps with a custom palette to work in my
application. I have searched archives and found what I thought were the
answers, but still no success.
I am using Macintosh CodeWarrior 8.3 with the Mac PilRC plugin version 2.9p10b.
I have created a .pal file that looks like this:
255 255 255 247 255 255 239 255 255 ... 6 14 31 9 10 12 0 0 0
with 256 entries, with a space at the end of each line.
My .rcp file looks like this:
PALETTE ID 1000 "W.pal"
BITMAPFAMILYEX ID 1100 BEGIN BITMAP "frame_00_L01.BMP" BPP 1 DENSITY 1 BITMAP "frame_00_L04.BMP" BPP 4 COMPRESS DENSITY 1 BITMAP "frame_00_L08.BMP" BPP 8 BITMAPPALETTE "W.pal" DENSITY 1 BITMAP "frame_00_H08.BMP" BPP 8 BITMAPPALETTE "W.pal" DENSITY 2 END
I wind up with the two (low density and high density) 8bpp bitmaps solid
black. I have tried with and without the COMPRESS keyword for those
lines. Theose bitmaps appear solid black both when I use them in my
app, and if I open the .prc with Constructor.
Any help or suggestions would be greatly appreciated. Thanks in advance,
Ted
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
