Loading image formats like PNG can be difficult, but most importantly can be un efficient.
With this little tutorial you can learn the basics of libpng:
http://www.piko3d.net/tutorials/libpng-tutorial-loading-png-files-from-streams/#Setup
Loading image formats like PNG can be difficult, but most importantly can be un efficient.
With this little tutorial you can learn the basics of libpng:
http://www.piko3d.net/tutorials/libpng-tutorial-loading-png-files-from-streams/#Setup