Pajdeg  0.2.2
Pajdeg
Files | Functions
PDStreamFilterFlateDecode

Flate Decode (compression/decompression) stream filter. More...

Files

file  PDStreamFilterFlateDecode.h
 

Functions

PDStreamFilterRef PDStreamFilterFlateDecodeCompressCreate (PDDictionaryRef options)
 
PDStreamFilterRef PDStreamFilterFlateDecodeDecompressCreate (PDDictionaryRef options)
 
PDStreamFilterRef PDStreamFilterFlateDecodeConstructor (PDBool inputEnd, PDDictionaryRef options)
 

Detailed Description

Flate Decode (compression/decompression) stream filter.

PDF streams are often compressed using FlateDecode. Normally this isn't a problem unless the user needs to change or insert stream content in a stream that requires compression, or, more importantly, when a PDF is using the 1.5+ object stream feature for the XREF table, and is not providing a fallback option for 1.4- readers.

Warning
This filter depends on the zlib library. It is enabed through the PD_SUPPORT_ZLIB define in PDDefines.h. Disabling this feature means zlib is not required for Pajdeg, but means that some PDFs (1.5 with no fallback) will not be parsable via Pajdeg!
See also
PDDefines.h

Function Documentation

PDStreamFilterRef PDStreamFilterFlateDecodeCompressCreate ( PDDictionaryRef  options)

Set up a stream filter for FlateDecode compression.

PDStreamFilterRef PDStreamFilterFlateDecodeConstructor ( PDBool  inputEnd,
PDDictionaryRef  options 
)

Set up a stream filter for FlateDecode based on inputEnd boolean.

PDStreamFilterRef PDStreamFilterFlateDecodeDecompressCreate ( PDDictionaryRef  options)

Set up stream filter for FlateDecode decompression.