Enum PdfImageCompression
Namespace: Aspose.Page.XPS.Presentation.Pdf
Assembly: Aspose.Page.dll (25.1.2)
Specifies the type of compression applied to images in the PDF file.
public enum PdfImageCompression
Fields
Auto = 0
Automatically selects the most appropriate compression for each image.
Flate = 3
Flate compression.
Jpeg = 6
JPEG compression. Does not support transparency.
LzwBaselinePredictor = 4
Predictor selection is restricted to PNG Paeth predictor to speed-up the process. In practice performs surprisingly good. Better than Aspose.Page.XPS.Presentation.Pdf.PdfImageCompression.LzwOptimizedPredictor.
LzwOptimizedPredictor = 5
Predictor selection is more complicated and should result in smaller image sizes but taking more time.
None = 1
Saves raw image bytes resulting in bigger PDF file sizes.
Rle = 2
Run Length compression.