I recently ran into an issue while adding bitmaps to a new Tamoggemon app. I created the bitmap resources in Resource Editor, and then edited the bitmap files with GIMP 2.4.

This resulted in total mayhem: the colors of the bitmaps appeared heavily distorted and were completely unusable. After a few hours of tinkering, I found out that the problem is due to the Palm OS tools needing a very special and pretty obscure bitmap format.

Even though converters are available, most of them aren’t cheap – thus, I set out to find another way. Follow the steps below and you’ll have perfect bitmaps in a jiffy:

Export the xrd file as a (temporary) 24bit BMP file onto your desktop. Do NOT allow GIMP to write into the file hyperlinked from the resource HTML file.

Then, open the resource HTML file in the resource editor. Open the bitmap that you wish to “edit”, and click Import. Pick the temporary file created before and “import” the data. Voila – it works. You can now delete the temporary bitmap…

The reason why I ****** up was that I used GIMP to directly edit the bitmaps as referenced by the resource HTML file. Once again – do NOT edit the bitmaps in the /rsc folders with anything except the PalmSource XRD editor!

Related posts:

  1. PODS 1.2 and bitmaps is a catastrophe!!!
  2. BmpGlueSetTransparency and offscreen bitmaps – it doesn’t work
  3. pnoJpegLib and PODS – the tutorial – Part 2
  4. The HP 1GB SecureDigital card
  5. Bird 1.04 review

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

© 2013 TamsPalm - the Palm OS / web OS Blog Suffusion theme by Sayontan Sinha