PNGImage Class Reference

#include <pngimage.h>

Inheritance diagram for PNGImage:

Image FrameBuffer CmdHistory List of all members.

Public Member Functions

 PNGImage (const BoxSize &size)
 PNGImage (const std::string &fileName)
 PNGImage (const Image &img)
virtual ~PNGImage ()
virtual void save (const std::string &fileName)

Detailed Description

Class loading/saving PNG images.

Definition at line 19 of file pngimage.h.


Constructor & Destructor Documentation

PNGImage::PNGImage ( const BoxSize size  ) 

Create new png image.

Parameters:
size New image size.

PNGImage::PNGImage ( const std::string &  fileName  ) 

Create new png image opening png image file. This method throws Image::ErrLoad exception if can't open image.

Parameters:
fileName PNG image file name.

PNGImage::PNGImage ( const Image img  ) 

Create PNGImage object from base class Image. Default png image properties are used.

virtual PNGImage::~PNGImage (  )  [virtual]


Member Function Documentation

virtual void PNGImage::save ( const std::string &  fileName  )  [virtual]

Save png image to file. This method throw Image::ErrSave exception if can't save image.

Parameters:
fileName File name to save with.

Implements Image.


The documentation for this class was generated from the following file:
Generated on Wed Aug 29 00:01:04 2007 for GED 2006 by  doxygen 1.5.2