Pdftools SDK
Loading...
Searching...
No Matches
TPdfToolsOptimizationProfiles_MinimalFileSize Class Reference

The optimization profile producing a minimal file size. More...

#include <PdfTools_Types.h>

Detailed Description

The optimization profile producing a minimal file size.

This profile optimizes the output PDF for minimal file size. This is achieved by using a varied palette of image compression algorithms, appropriate resolution setting and higher compression rates at the price of slightly lower image quality.

The output file size is further reduced by converting Embedded Type1 (PostScript) fonts to Type1C (Compact Font Format) and removing metadata and output intents (see PdfToolsOptimizationProfiles_Profile_GetRemovalOptions). Also Spider (web capture) information is removed.

Images above 182 DPI are down-sampled and recompressed to 130 DPI. This leads to smaller output files. The property PdfToolsOptimizationProfiles_MinimalFileSize_SetResolutionDPI has influence on both values.

When an image is recompressed, the ePdfToolsOptimization_CompressionAlgorithmSelection_Balanced strategy is used; this can be overridden through the property PdfToolsOptimizationProfiles_Profile_GetImageRecompressionOptions.

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


The documentation for this class was generated from the following file: