PngReader Class Reference

#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.
 
Imageadvance ()
 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.
 
Imageget ()
 Reads the whole image from the stream.
 
void reset ()
 Reset to begin new decompression.