png::writer Class Reference

PNG writer class. This is the low-level writing interface -- use image class or generator class to actually write images. More...

#include <writer.hpp>

Inheritance diagram for png::writer:

png::io_base List of all members.

Public Member Functions

 writer (std::ostream &stream)
 Constructs a writer prepared to write PNG image into a stream.
 ~writer ()
void write_png () const
void write_info () const
 Write info about PNG image.
void write_row (byte *bytes)
 Writes a row of image data at a time.
void write_end_info () const
 Reads ending info about PNG image.

Detailed Description

PNG writer class. This is the low-level writing interface -- use image class or generator class to actually write images.

See also:
image, reader, generator, io_base


Constructor & Destructor Documentation

png::writer::writer ( std::ostream &  stream  )  [inline, explicit]

Constructs a writer prepared to write PNG image into a stream.

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


Member Function Documentation

void png::writer::write_png (  )  const [inline]

void png::writer::write_info (  )  const [inline]

Write info about PNG image.

void png::writer::write_row ( byte bytes  )  [inline]

Writes a row of image data at a time.

void png::writer::write_end_info (  )  const [inline]

Reads ending info about PNG image.


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