public enum PdfOptimizerProfile extends Enum<PdfOptimizerProfile>
Enum Constant and Description |
---|
CUSTOM
Marker for a custom profile which is empty by default.
|
HIGH_COMPRESSION
High-level compression profile.
|
LOSSLESS_COMPRESSION
Lossless compression profile.
|
LOW_COMPRESSION
Low-level compression profile.
|
MID_COMPRESSION
Mid-level compression profile.
|
Modifier and Type | Method and Description |
---|---|
static PdfOptimizerProfile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PdfOptimizerProfile[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final PdfOptimizerProfile LOSSLESS_COMPRESSION
CompressionOptimizer
; FontDuplicationOptimizer
). public static final PdfOptimizerProfile LOW_COMPRESSION
CompressionOptimizer
; FontDuplicationOptimizer
); ImageQualityOptimizer
): bitmap images are scaled with coefficient 0.8; images in RGB and Grey color space, both scaled bitmaps and originally jpeg images, are compressed by JPEG compression with coefficient 0.8. public static final PdfOptimizerProfile MID_COMPRESSION
CompressionOptimizer
; FontDuplicationOptimizer
); ImageQualityOptimizer
): bitmap images are scaled with coefficient 0.5; images in RGB and Grey color space, both scaled bitmaps and originally jpeg images, are compressed by JPEG compression with coefficient 0.5. public static final PdfOptimizerProfile HIGH_COMPRESSION
CompressionOptimizer
; FontDuplicationOptimizer
); ImageQualityOptimizer
): bitmap images are scaled with coefficient 0.15; scaled bitmap images in CMYK color space are converted into images in RGB color space; images in RGB and Grey color space, both scaled bitmaps and originally jpeg images, are compressed by JPEG compression with coefficient 0.15. public static final PdfOptimizerProfile CUSTOM
public static PdfOptimizerProfile[] values()
for (PdfOptimizerProfile c : PdfOptimizerProfile.values()) System.out.println(c);
public static PdfOptimizerProfile valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
Copyright © 1998–2020 iText Group NV. All rights reserved.