PdfImageCompression enumeration

PdfImageCompression enumeration

Specifies the type of compression applied to images in the PDF file.

The PdfImageCompression type exposes the following members:

Fields

FieldDescription
AUTOAutomatically selects the most appropriate compression for each image.
NONESaves raw image bytes resulting in bigger PDF file sizes.
RLERun Length compression.
FLATEFlate compression.
LZW_BASELINE_PREDICTORPredictor selection is restricted to PNG Paeth predictor to speed-up the process. In practice
performs surprisingly good. Better than PdfImageCompression.LZW_OPTIMIZED_PREDICTOR.
LZW_OPTIMIZED_PREDICTORPredictor selection is more complicated and should result in smaller image sizes but
taking more time.
JPEGJPEG compression.
Does not support transparency.

See Also