pdftools_sdk.optimization.profiles.archive
Classes
|
The optimization profile suitable for archiving |
- class pdftools_sdk.optimization.profiles.archive.Archive[source]
Bases:
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_sdk.optimization.compression_algorithm_selection.CompressionAlgorithmSelection.PRESERVEQUALITY
strategy is used; this can be overridden through the propertypdftools_sdk.optimization.profiles.profile.Profile.image_recompression_options
.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.