there is no library i am aware of which would create .bmp. you will have to
create it yourself. its simple format so its not difficult to convert palm
bitmap to .bmp. file format description is for example here:
http://www.martinreddy.net/gfx/2d/BMP.txt
to decode png to palm bitmap you have 2 possibilities
1) use palmpng http://sourceforge.net/projects/palmpng
2) use http library with headers from sdk from pdn.palm.com to draw png to
screen and then copy rectangle with picture to offscreen window, get bitmap of
this window
btw. as far as i remember i already wrote this once 2 weeks ago ;-)
Marcus Herminio Araujo Nunes wrote:
Hi,
In order to show an image to the user after obtaining it from the
server, it is needed to convert it from .png to .bmp format (inside my
program coding). I tried many things, but without success.
Could someone, please, provide an example that would fit to this purpose?
Thanks,
Marcus
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/