pdftools_sdk.optimization.profiles.print

Classes

Print()

The optimization profile suitable for printing

class pdftools_sdk.optimization.profiles.print.Print[source]

Bases: 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_sdk.optimization.compression_algorithm_selection.CompressionAlgorithmSelection.PRESERVEQUALITY strategy is used; this can be overridden through the property pdftools_sdk.optimization.profiles.profile.Profile.image_recompression_options .

With this profile, the output PDF version is updated to PDF 1.7 or higher and PDF/A conformance removed.

__init__()[source]