Class Archive
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.optimization.profiles.Profile
-
- com.pdftools.optimization.profiles.Archive
-
public class Archive extends Profile
The optimization profile suitable for archiving
This profile provides minimal document modification and is well suited for reducing the file size prior to converting to PDF/A. The optimizer itself does not create PDF/A output but merely tries to preserve PDF/A conformance.
Alternate images and thumbnails are removed. The resolution and color space of images stay untouched.
When an image is recompressed, the
pdftools.optimization.CompressionAlgorithmSelection.PRESERVE_QUALITY
strategy is used; this can be overridden through the propertyProfile.getImageRecompressionOptions()
.For PDF/A conforming input files, the PDF/A conformance is preserved if possible. For other files, the PDF version is updated to PDF 1.7 or higher.
-
-
Constructor Summary
Constructors Constructor Description Archive()
-
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
-
-