#include <pljpegenc.h>
Inheritance diagram for PLJPEGEncoder:
Public Member Functions | |
PLJPEGEncoder () | |
Creates an encoder. | |
~PLJPEGEncoder () | |
Destroys a encoder. | |
void | SetQuality (int iQuality) |
Set the compression quality on a scale from 0 to 100. | |
void | SetOptimizeCoding (bool bOptimizeCoding) |
Enable or disable the generation of optimal Huffmann coding tables. | |
void | SetSmoothingFactor (int iSmoothingFactor) |
Set the smoothing factor (<=100). 0 turns it off. | |
void | SetDensity (unsigned int uiX, unsigned int uiY) |
Set the resolution information (DPI) for the image. | |
void | SetExifData (PLExif &ExifData) |
Protected Member Functions | |
void | DoEncode (PLBmp *pBmp, PLDataSink *pDataSink) |
Definition at line 25 of file pljpegenc.h.
|
Implements the actual encoding process. Uses variables local to the object to retrieve and store the data. Implemented in derived classes. Implements PLPicEncoder. |
|
Set Exif (digital camera) Data for the next encode. The encoder only holds on to the Exif data until the next encode. |