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


Public Member Functions | |
| PfcWriter (char const *name, Image *images[], int colors=3, clrmodel cmodel=cm_rgb) | |
| virtual | ~PfcWriter (void) |
Protected Member Functions | |
| virtual int | writefmt (void) |
A PFC image file writer. Dimensions are known from the {Image} object. Only PFC version 6 is supported.
Definition at line 21 of file PfcWriter.hh.
| PfcWriter::PfcWriter | ( | char const * | name, |
| Image * | images[], | ||
| int | colors = 3, |
||
| clrmodel | cmodel = cm_rgb |
||
| ) | [inline] |
Constructor. Only calls the mother class' constructor to initialize the {ImageArray} reference and set the offset if necessary.
| name | the file name |
| images | the array of greyscale images for the values |
| colors | the number of colors |
| cmodel | the color model |
Definition at line 36 of file PfcWriter.hh.
References PixmapFile::colormodel().
| virtual PfcWriter::~PfcWriter | ( | void | ) | [inline, virtual] |
Destructor - does nothing.
Definition at line 41 of file PfcWriter.hh.
| virtual int PfcWriter::writefmt | ( | void | ) | [protected, virtual] |
Write a PFC image file. This is the method that does the actual work. It will be called by the {write ()} method.
Implements PixmapWriter.
1.7.6.1