|
Wavelet and Image class library
1.3.2
|
#include <PixmapWriter.hh>


Public Member Functions | |
| PixmapWriter (char const *name, Image *images[], int channels) | |
| virtual | ~PixmapWriter (void) |
| void | write (void) |
Protected Member Functions | |
| virtual int | writefmt (void)=0 |
An abstract image writer. The image is being written putting its content from an array of greyscale image objects into the file.
Definition at line 23 of file PixmapWriter.hh.
| PixmapWriter::PixmapWriter | ( | char const * | name, |
| Image * | images[], | ||
| int | channels | ||
| ) | [inline] |
Constructor. Only calls the mother class' constructor to initialize the {ImageArray} reference.
| name | the file name |
| images | the array of greyscale images for the values |
| channels | the number of colors |
Definition at line 36 of file PixmapWriter.hh.
| virtual PixmapWriter::~PixmapWriter | ( | void | ) | [inline, virtual] |
Destructor - does nothing.
Definition at line 40 of file PixmapWriter.hh.
| void PixmapWriter::write | ( | void | ) |
Write the image. All steps independent of the file format will be performed, like testing for file writeability etc.
| ios_base::failure | a read error has occured [not supported by all libraries, so eventually {invalid_argument} instead] |
| virtual int PixmapWriter::writefmt | ( | void | ) | [protected, pure virtual] |
1.7.6.1