Enum PdfImageCompressionOptions

PdfImageCompressionOptions enumeration

Pdf image compression options

public enum PdfImageCompressionOptions

Values

NameValueDescription
Auto0Automatically selects the most appropriate compression for each image.
None1Saves raw image bytes resulting in bigger pdf file sizes.
Rle2Run Length compression.
Flate3Flate compression.
LzwBaselinePredictor4Predictor selection is restricted to PNG Paeth predictor to speed-up the process. In practice performs surprisingly good. Better than LzwOptimizedPredictor.
LzwOptimizedPredictor5Predictor 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 LzwBaselinePredictor kicks ass leaving optimized predictor behing by 25-40% compression rate gains.
Jpeg6Jpeg compression. Does not support transparency.
Ccitt37/CCITTFaxDecode/DecodeParms/K 0/Columns 173 Does not support transparency.
Ccitt48/CCITTFaxDecode/DecodeParms/K -1/Columns 173 Does not support transparency.

See Also