#include <plpngenc.h>
Inheritance diagram for PLPNGEncoder:


Public Member Functions | |
| PLPNGEncoder () | |
| Creates an encoder. | |
| virtual | ~PLPNGEncoder () |
| Destroys a encoder. | |
| PLDataSink * | GetDataSink () |
Protected Member Functions | |
| virtual void | DoEncode (PLBmp *pBmp, PLDataSink *pDataSnk) |
| Sets up LIBPNG environment and calls LIBPNG to encode an image. | |
Private Attributes | |
| PLBmp * | m_pBmp |
| PLDataSink * | m_pDataSnk |
Definition at line 19 of file plpngenc.h.
|
|
Creates an encoder.
Definition at line 30 of file plpngenc.cpp. References NULL. |
|
|
Destroys a encoder.
Definition at line 38 of file plpngenc.cpp. |
|
||||||||||||
|
Sets up LIBPNG environment and calls LIBPNG to encode an image.
Implements PLPicEncoder. Definition at line 169 of file plpngenc.cpp. References createPNGPalette(), EncodeData(), EncodeExtraInfo(), EncodeTransformation(), FlushData(), PLBmp::GetBitsPerPixel(), PLBmp::GetHeight(), PLBmp::GetLineArray(), PLDataSink::GetName(), PLBmp::GetPalette(), PLBmp::GetResolution(), PLBmp::GetWidth(), PLBmp::HasAlpha(), m_pBmp, m_pDataSnk, NULL, PLASSERT, PLBYTE, PLPoint::x, and PLPoint::y. |
Here is the call graph for this function:

|
|
Definition at line 42 of file plpngenc.cpp. Referenced by EncodeData(). |
|
|
Definition at line 43 of file plpngenc.h. Referenced by DoEncode(). |
|
|
Definition at line 44 of file plpngenc.h. Referenced by DoEncode(). |
1.3.9.1