png::reader Class Reference

The PNG reader class. This is the low-level reading interface -- use image class or consumer class to actually read images. More...

#include <reader.hpp>

Inheritance diagram for png::reader:

png::io_base List of all members.

Public Member Functions

 reader (std::istream &stream)
 Constructs a reader prepared to read PNG image from a stream.
 ~reader ()
void read_png ()
 Reads the whole PNG data stream into memory. Not particularly useful.
void read_info ()
 Reads info about PNG image.
void read_row (byte *bytes)
 Reads a row of image data at a time.
void read_end_info ()
 Reads endinig info about PNG image.
void update_info ()

Detailed Description

The PNG reader class. This is the low-level reading interface -- use image class or consumer class to actually read images.

See also:
image, consumer, writer, io_base


Constructor & Destructor Documentation

png::reader::reader ( std::istream &  stream  )  [inline, explicit]

Constructs a reader prepared to read PNG image from a stream.

png::reader::~reader (  )  [inline]


Member Function Documentation

void png::reader::read_png (  )  [inline]

Reads the whole PNG data stream into memory. Not particularly useful.

void png::reader::read_info (  )  [inline]

Reads info about PNG image.

void png::reader::read_row ( byte bytes  )  [inline]

Reads a row of image data at a time.

void png::reader::read_end_info (  )  [inline]

Reads endinig info about PNG image.

void png::reader::update_info (  )  [inline]


The documentation for this class was generated from the following file:
Generated on Sun Jul 8 19:33:01 2007 for png++ by  doxygen 1.5.2