JpegReader Class Reference

#include <Pt/Gfx/JpegReader.h>

Reader for JPEG images.

Public Member Functions

 JpegReader ()
 Default Constructor.
 
 JpegReader (std::istream &is, Image &image)
 Construct with target stream and image.
 
 ~JpegReader ()
 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 compression/decompression.