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

FieldDescription
NoneNo compression is used when saving images.
AutoAutomatically selects the most appropriate compression for each image.
JpegJpeg compression.
FlateFlate 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).