GP32 Loading Png From Memory


pea

developer
Joined
Oct 3, 2004
Messages
1,089
Age
45
Location
New Zealand
Website
www.projectitis.com
Hi guys,

Anyone who has used libpng to load PNGs on the GP32 (aquafish comes to mind) might be able to help me!

I have a very cut down version of libpng and am only interested in loading, not saving. However, my PNG is already in memory (unsigned char *rawPngFile) and the pnglib functions expect a FILE type pointer.

I know it is possible to define your own, and replace the standard read and write functions in libpng, but hopefully someone has already done this!

Any ideas?
 
Back
Top