#include <pltiffencex.h>
Inheritance diagram for PLTIFFEncoderEx:
Public Member Functions | |
PLTIFFEncoderEx () | |
Creates an encoder. | |
virtual | ~PLTIFFEncoderEx () |
Destroys an encoder. | |
bool | Associate (PLDataSink *) |
Bind DataSink to Encoder (the link is the TIFF* member). | |
void | Dissociate (void) |
Flush the output. | |
int | SetBaseTags (PLBmp *) |
SetBaseTabs and SetField make their base class equivalent usable, without requiring the user to know about the libtiff internals (TIFF*). | |
int | SetField (int tag_id,...) |
SetBaseTabs and SetField make their base class equivalent usable, without requiring the user to know about the libtiff internals (TIFF*). | |
Protected Member Functions | |
virtual void | DoEncode (PLBmp *, PLDataSink *=0) |
Sets up LIBTIFF environment and calls LIBTIFF to encode an image. | |
Private Attributes | |
TIFF * | m_TiffToken |
This does not compress data or allow any informative tag to be set. For those who need greater control, PLTIFFDecoderEx is provided.
Definition at line 20 of file pltiffencex.h.
|
Creates an encoder.
Definition at line 37 of file pltiffencex.cpp. |
|
Destroys an encoder.
Definition at line 44 of file pltiffencex.cpp. References Dissociate(). |
Here is the call graph for this function:
|
Bind DataSink to Encoder (the link is the TIFF* member).
Definition at line 50 of file pltiffencex.cpp. References PLDataSink::m_nCurPos, PLDataSink::m_nMaxFileSize, PLDataSink::m_pStartData, m_TiffToken, and TIFFOpenMem(). |
Here is the call graph for this function:
|
Flush the output.
Definition at line 59 of file pltiffencex.cpp. References m_TiffToken. Referenced by ~PLTIFFEncoderEx(). |
|
Sets up LIBTIFF environment and calls LIBTIFF to encode an image.
Reimplemented from PLTIFFEncoder. Definition at line 69 of file pltiffencex.cpp. References PLTIFFEncoder::DoTiffEncode(), m_TiffToken, and PLASSERT. |
Here is the call graph for this function:
|
SetBaseTabs and SetField make their base class equivalent usable, without requiring the user to know about the libtiff internals (TIFF*).
Definition at line 79 of file pltiffencex.cpp. References m_TiffToken, and PLTIFFEncoder::SetBaseTags(). |
Here is the call graph for this function:
|
SetBaseTabs and SetField make their base class equivalent usable, without requiring the user to know about the libtiff internals (TIFF*).
Definition at line 85 of file pltiffencex.cpp. References m_TiffToken. |
|
Definition at line 49 of file pltiffencex.h. Referenced by Associate(), Dissociate(), DoEncode(), SetBaseTags(), and SetField(). |