public final class PdfImageCompressionOptions
extends com.aspose.ms.System.Enum
Pdf image compression options
Modifier and Type | Field and Description |
---|---|
static int |
Auto
Automatically selects the most appropriate compression for each image.
|
static int |
Ccitt3
/CCITTFaxDecode/DecodeParms/K 0/Columns 173
Does not support transparency.
|
static int |
Ccitt4
/CCITTFaxDecode/DecodeParms/K -1/Columns 173
Does not support transparency.
|
static int |
Flate
Flate compression.
|
static int |
Jpeg
Jpeg compression.
|
static int |
LzwBaselinePredictor
Predictor selection is restricted to PNG Paeth predictor to speed-up the process.
|
static int |
LzwOptimizedPredictor
Predictor selection is more complicated and should result in smaller image sizes but
taking more time.
|
static int |
None
Saves raw image bytes resulting in bigger pdf file sizes.
|
static int |
Rle
Run Length compression.
|
Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
public static final int Auto
Automatically selects the most appropriate compression for each image.
public static final int None
Saves raw image bytes resulting in bigger pdf file sizes.
public static final int Rle
Run Length compression.
public static final int Flate
Flate compression.
public static final int LzwBaselinePredictor
Predictor selection is restricted to PNG Paeth predictor to speed-up the process. In practice
performs surprisingly good. Better than PdfImageCompressionOptions.LzwOptimizedPredictor
.
public static final int LzwOptimizedPredictor
Predictor 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
PdfImageCompressionOptions.LzwBaselinePredictor
kicks ass leaving optimized predictor behing
by 25-40% compression rate gains.
public static final int Jpeg
Jpeg compression. Does not support transparency.
public static final int Ccitt3
/CCITTFaxDecode/DecodeParms/K 0/Columns 173 Does not support transparency.
public static final int Ccitt4
/CCITTFaxDecode/DecodeParms/K -1/Columns 173 Does not support transparency.