There is no way to load a PNG image from Palm OS; you have to use someone else's software library. I may be wrong, but Palm OS doesn't have native libraries for PNG.
You will have to find and use someone else's library, or port the code yourself; libpng exists for other OS's: http://www.libpng.org/pub/png/libpng.html Try using pnojpeglib and JPEGs instead of PNGs -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of chinmaya Sent: 09 January 2006 15:41 To: Palm Developer Forum Subject: Regarding PNG image -> Hi All, Kindly help me or send me some sample code , so that I can able to display the PNG image that I am downloading from server. i.e. NetLibReceiv(NetRefnum,socketRef,dataSrc,bytesRead,0,NULL,0, 10 * SysTicksPerSecond(), &error); My dataSrc is the buffer.Where the compressed PNG format present. I need decompress and convert it to bmp. After that I can display. I have already tried with all the possibilities that developers had suggested me.But I am sure I am doing wrong and I dont have capacity to make a converter, as I dont have such experience . Because I am new to PalmOS and also to Software field. So kindly help me.....& suggest me in a simple...As I am really struggling regarding this problem. Thanks..in Advance! Regards, chinmaya -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
