ImageGear for C and C++ on Linux v20.0 - Updated
AT_PDE_FILTERSPEC
API Reference Guide > PDF Component API Reference > PDF Component Structures Reference > AT_PDE_FILTERSPEC

Filter element in a filter array.

Declaration:

 
Copy Code
typedef struct tagAT_PDE_FILTERSPEC
{
        HIG_PDF_BASOBJ decodeParms;
        HIG_PDF_BASOBJ encodeParms;
        HIG_PDF_ATOM name;
} AT_PDE_FILTERSPEC;
typedef AT_PDE_FILTERSPEC FAR* LPAT_PDE_FILTERSPEC;

Members:

Name Type Description
decodeParms HIG_PDF_BASOBJ Parameters used by the decoding filters specified with the Filter key. Corresponds to the DecodeParms key in the stream dictionary. Must be set to NULL if AT_PDE_FILTERSPEC is specified but no decode parameters are specified. This can be done by zeroing the unused decode params. Required decode params for DCTDecode are Columns, Rows, and Colors.
encodeParms HIG_PDF_BASOBJ Parameters used when encoding the stream. Required for DCTDecode filter; optional for other filters. Must be set to NULL if AT_PDE_FILTERSPEC is specified but no encode parameters are specified. This can be done by zeroing the unused encode params.
name HIG_PDF_ATOM Filter name. Supported filters are: ASCIIHexDecode, ASCII85Decode, LZWDecode, DCTDecode, CCITTFaxDecode, RunLengthDecode, and FlateDecode.
Is this page helpful?
Yes No
Thanks for your feedback.