This class reads and write PNG image files. More...
#include "../include/PngFile.h"
Public Member Functions | |
| int | init () |
| PngFile (const char *filename, int access) | |
| int | open (const char *filename, int access) |
| bool | isOpen () |
| int | close () |
| int | setInterlace (int val) |
| int | setTitle (const char *str) |
| int | setComment (const char *str) |
| int | read (Image &image) |
| int | read (const char *filename, Image &image) |
| int | write (Image &image) |
| int | write (const char *filename, Image &image) |
This class reads and write PNG image files.
| int PngFile::write | ( | Image & | image | ) |
Writes an image to a PNG file.
| image | Image to write. |
References WXP::StrLib::acopy(), WXP::File::close(), WXP::StrLib::copy(), WXP::DateTool::getCurrent(), WXP::Image::getPixel(), WXP::Image::getRow(), WXP::Const::MISS, WXP::Wxp::outDebug(), WXP::ImageMath::toIndex(), WXP::Domain::toString(), and WXP::StrLib::valid().
Referenced by WXP::ImageFile::write().
1.6.1