PdfImageCompressionOptions Enumeration

Pdf image compression options

Module: aspose.imaging.imageoptions

Full Name: aspose.imaging.imageoptions.PdfImageCompressionOptions

Members

Member nameDescription
AUTOAutomatically selects the most appropriate compression for each image.
CCITT3/CCITTFaxDecode/DecodeParms/K 0/Columns 173
Does not support transparency.
CCITT4/CCITTFaxDecode/DecodeParms/K -1/Columns 173
Does not support transparency.
FLATEFlate compression.
JPEGJpeg compression.
Does not support transparency.
LZW_BASELINE_PREDICTORPredictor selection is restricted to PNG Paeth predictor to speed-up the process. In practice
performs surprisingly good. Better than PdfImageCompressionOptions.LZW_OPTIMIZED_PREDICTOR.
LZW_OPTIMIZED_PREDICTORPredictor selection is more complicated and should result in smaller image sizes but
taking more time. RFC 2083 says it is the best way to go. But on the test data baseline predictor
PdfImageCompressionOptions.LZW_BASELINE_PREDICTOR kicks ass leaving optimized predictor behing
by 25-40% compression rate gains.
NONESaves raw image bytes resulting in bigger pdf file sizes.
RLERun Length compression.