i use palmphotolib. if you get palmone sdk samples there is sample for how to
use it to convert jpg to palm bitmap, yopu can just take it from there

i don't know 700p but on treo650 you couldn't open jpeg image from memory. you
have to save it to temporary pdb (or vfs file) and open it from there



Riekey wrote:
> Hi, i have images in memory as a chunk pointed by a MemPtr. I need to draw 
> them on screen. I found that ImageLib is not on T700p. So, I tried 
> PalmOnePhotoLib. but didn't find out how to display image in memory with 
> phoote lib. I didn't find out how to put the images into file either. If 
> anyone knows this, please help me.
> 
> My second thought was to use codecpluginmanager to decode the jpegs to, say, 
> bitmaps. But, i couldn't find the correct PalmCodecFormats for creating the 
> session. It says in the apiguid that "palmCodecImageJPEG as input uses 
> PalmJPEGEncodeType palmCodecImageJPEG as output uses PalmJPEGDecodeType etc." 
> I do not quite understand this and didn't find what PalmJPEGDecodeType and 
> PalmJPEGEncodeType are. Please help
> 

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

Reply via email to