pea
developer
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?
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?