PdfImageCompression enumeration

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

public enum PdfImageCompression


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.
Jpeg6JPEG compression. Does not support transparency.

See Also