#include <pngimage.h>
Inheritance diagram for PNGImage:

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) |
Definition at line 19 of file pngimage.h.
| PNGImage::PNGImage | ( | const BoxSize & | size | ) |
Create new png image.
| 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.
| fileName | PNG image file name. |
| PNGImage::PNGImage | ( | const Image & | img | ) |
| virtual PNGImage::~PNGImage | ( | ) | [virtual] |
| 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.
| fileName | File name to save with. |
Implements Image.
1.5.2