AFAIK, this builtin palmphotolib is only on treo600 and newer, so its not soultion if your device is older
also it can't work with jpeg images in memory. it will return errors. you will have to save image to temporary file (prefereably to pdb, but it can be also vfs), then you can open it, let library to do any processing you need, close it and delete temporary file. i use it like this in one of my projects, function to convert jpg to bmp you can take from palmone sdk samples, i don't remember where it was exactly [EMAIL PROTECTED] wrote: > pnojpglib requires extra library to be installed onto palm. I can not ask > everyone to do this. > Is there any way to create image with image libs. > > Is it possible to hold the image in memory as a chunk and point to it with a > MemPtr. Then, draw it with > Err ImageLibDrawJPEG ( UInt16 libRef, > MemPtr jpegDataP, > UInt32 jpegSize, > Coord left, > Coord top, > Boolean fitToScreen, > Coord width, > Coord height > ) > > another question is how to use > typedef struct _PalmPhotoType* PalmPhotoHandle > > I can't find any description of it. Is there anyway to point this > PalmPhotoHandle to the image chunk pointed by a MemPtr? > > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
