#include <Pt/Gfx/PngReader.h>
Reader for PNG images.
Public Member Functions | |
PngReader () | |
Default Constructor. | |
PngReader (std::istream &is, Image &image) | |
Construct with target stream and image. | |
~PngReader () | |
Destructor. | |
Image * | advance () |
Reads image data from the target stream. | |
void | attach (std::istream &is, Image &image) |
Attach to target stream and image. | |
void | detach () |
Detach from target stream. | |
Image & | get () |
Reads the whole image from the stream. | |
void | reset () |
Reset to begin new decompression. | |