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


Public Member Functions | |
| JpgWriter (char const *name, Image *images[], int colors=3, int quality=90) | |
Protected Member Functions | |
| virtual int | writefmt (void) |
Protected Attributes | |
| int | m_quality |
A JPG image file writer. Dimensions are known from the {Image} object. Only JPG version 6 is supported.
Definition at line 22 of file JpgWriter.hh.
| JpgWriter::JpgWriter | ( | char const * | name, |
| Image * | images[], | ||
| int | colors = 3, |
||
| int | quality = 90 |
||
| ) | [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 |
| quality | the JPEG quality |
Definition at line 37 of file JpgWriter.hh.
References m_quality.
| virtual int JpgWriter::writefmt | ( | void | ) | [protected, virtual] |
Write a JPG image file. This is the method that does the actual work. It will be called by the {write ()} method.
Implements PixmapWriter.
int JpgWriter::m_quality [protected] |
1.7.6.1