Fabio Braga wrote:
Hi,
How can I storage pictures in a database (PDB) file
To store a resource into a PDB file you'll need a 3rd party application.
you can use Par:
http://www.djw.org/product/palm/par/
that is a command line tool to store and read resources from .PDB files
and read and shows it after in my Palm OS application?
picture is a .bmp or .jpg file.
to read BMP it you can read as a normal resource.
to read and display .jpg you need a lib as PalmOS do not support this
resource. I recommend Stefan Stolz's pnoJpegLib as it also has a sample
code that has a jpeg.pdb file that you can use for reference.
pnoJpegLib:
http://www.bin-people.de/pnoJpegLib/
there is other options for jpeg too.
But do you need a .pdb file? you can store .bmp and .jpeg data as usual
resource into your .prc file. in this case you just need pnoJpegLib to
do the job.
I hope you understand what I mean.
hope this helps you.
Tks,
FABIO
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/