On Sun, Sep 24, 2000 at 11:32:51AM +0800, gundam wrote:
> I would like to write a program to display bitmap image on palm. Can anyone
> tell me what kinds of thinks i need to know if i want to write a pc program
> to convert pc bitmap file to palm bitmap file (pdb)?
> do i need to make a pdb file which have the structure of bitmap.h?

pdb files are not palm bitmaps, they are palm database files.

To draw a bitmap, you will need a bitmap header giving the size,
depth, etc. and the bitmap image itself might be elsewhere.

bitmap resources are self contained, but include all the information
including the header, but that is an entry in a .prc file.

As far as conversion, it depends on what you want to do.  Minimally
you need to unpack the windows BMP header and repack it into the palm
bitmap format.  Without knowing any more specifics it is difficult.


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

Reply via email to