Class 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 property Profile.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 Detail

      • Archive

        public Archive()