Convert Pennovate's internal PDB format to BMP files

Pennovate provide a note-taking (freeform scribbling) application for PalmOS which is a slight improvement on the basic doodling application that comes with my Palm Tungsten E.

Pennovate's application ("Notes") can save directly to a memory card in the "standard" .bmp format. But if you save to the handheld's internal memory, it saves in a Palm database file (called, for example, mynote.pdb). It's easy to retrieve these databases to your computer (e.g. using pilot-xfer in Linux or picking them out of your backup directory on your PC if you use Windows). But they are not raw image files.

I therefore wrote a short program, pennovate2bmp.c [same file as .txt] which converts such files to bmp files. Well, actually to mirror-image bmp files, but I can't really be bothered to fix that since I'm going to be running my bmps through a conversion program to get a more useful format in any case. (convert -flip will unflip it on Linux; convert is part of ImageMagick).

This is of course a quick hack, and might not work with future versions of Pennovate. Seems to work with version 1.2.

Just in case anyone else finds this useful...

Seb Wills, March 2005