Class Print
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.optimization.profiles.Profile
-
- com.pdftools.optimization.profiles.Print
-
public class Print extends Profile
The optimization profile suitable for printing
All colors are converted to CMYK for optimal output on printing devices. Spider (web capture) information is removed. Embedded Type1 (PostScript) fonts are converted to Type1C (Compact Font Format) which further reduces the file size. The resolution of images stays untouched.
When an image is recompressed, the
pdftools.optimization.CompressionAlgorithmSelection.PRESERVE_QUALITY
strategy is used; this can be overridden through the propertyProfile.getImageRecompressionOptions()
.With this profile, the output PDF version is updated to PDF 1.7 or higher and PDF/A conformance removed.
-
-
Constructor Summary
Constructors Constructor Description Print()
-
Method Summary
-
Methods inherited from class com.pdftools.optimization.profiles.Profile
getCopyMetadata, getFontOptions, getImageRecompressionOptions, getRemovalOptions, setCopyMetadata
-
Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
-