My own library to read png files. More...
| |
smart_ptr< ImageLoader > | media::createPngImageLoader (void) |
creates an image loader for use by the Image Library library. |
My own library to read png files.
Shamelessly stolen from http://tfcduke.developpez.com/tutoriel/format/png/
In particular, thanks to the author of the png.c file there, David Henry. See the licensing terms in that file (renamed and updated as wave-png.cpp here). Basically, it is distributed freely (as is this library).
However, don't use this file or methods! Use media::loadImage() instead. That uses this code internally for PNG files.
smart_ptr< ImageLoader > media::createPngImageLoader | ( | void | ) |
creates an image loader for use by the Image Library library.
Use that library to load PNG images.