PdfImageCompression
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class PdfImageCompression extends System.Enum
Specifies the type of compression applied to images in the PDF file.
Fields
Field | Description |
---|---|
None | No compression is used when saving images. |
Auto | Automatically selects the most appropriate compression for each image. |
Jpeg | Jpeg compression. |
Flate | Flate compression(lossless). |
None
public static final int None
No compression is used when saving images.
Auto
public static final int Auto
Automatically selects the most appropriate compression for each image.
Jpeg
public static final int Jpeg
Jpeg compression. Does not support transparency.
Flate
public static final int Flate
Flate compression(lossless).