#include <plpicenc.h>
Inheritance diagram for PLPicEncoder:
Public Member Functions | |
PLPicEncoder () | |
virtual | ~PLPicEncoder () |
Destructor. Frees memory allocated. | |
virtual void | MakeFileFromBmp (const char *, PLBmp *) |
Encodes a bitmap to a file and stores. | |
virtual void | SaveBmp (PLBmp *, PLDataSink *) |
Encodes a picture to a pre-existing data destination (sink). | |
void | SetTraceConfig (int Level, char *pszFName) |
void | Trace (int TraceLevel, const char *pszMessage) |
Static Public Member Functions | |
void | raiseError (int Code, char *pszErr) |
Protected Member Functions | |
virtual void | DoEncode (PLBmp *pBmp, PLDataSink *pDataSrc)=0 |
Definition at line 34 of file plpicenc.h.
|
Empty constructor. The actual initialization takes place in a derived class. |
|
Implements the actual encoding process. Uses variables local to the object to retrieve and store the data. Implemented in derived classes. Implemented in PLBmpEncoder, PLJPEGEncoder, PLPNGEncoder, PLTIFFEncoder, and PLTIFFEncoderEx. |