Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

PLTIFFEncoder Class Reference

TIFF file encoder. Uses LIBTIFF to do the actual conversion. More...

#include <pltiffenc.h>

Inheritance diagram for PLTIFFEncoder:

PLPicEncoder PLTIFFEncoderEx List of all members.

Public Member Functions

 PLTIFFEncoder ()
 Creates an encoder.

virtual ~PLTIFFEncoder ()
 Destroys a encoder.

void SetCompression (PLWORD Compression)

Protected Member Functions

virtual void DoEncode (PLBmp *pBmp, PLDataSink *pDataSnk)
 Sets up LIBTIFF environment and calls LIBTIFF to encode an image.

virtual void DoTiffEncode (PLBmp *pBmp, TIFF *tif)
 this one mostly useful for the "extended" decoder

int SetBaseTags (TIFF *, PLBmp *)
int SetField (TIFF *, int tag_id,...)

Detailed Description

TIFF file encoder. Uses LIBTIFF to do the actual conversion.

Definition at line 21 of file pltiffenc.h.

Member Function Documentation

int PLTIFFEncoder::SetBaseTags TIFF *  ,

According to the characteristics of the given bitmap, set the baseline tags

int PLTIFFEncoder::SetField TIFF *  ,
int  tag_id,

Set tag value in directory; also, "pseudo-tags" are interpreted by LIBTIFF as modifiers to certain algorithms (compression....). We do _not_ support multiple images by file, nor tiling nor stripping.

The documentation for this class was generated from the following file:
Generated on Sun Jun 6 13:42:23 2004 for paintlib by doxygen 1.3.2