PDFPictureCompressionParams Object (IPDFPictureCompressionParams Interface)

This object provides functionality for tuning the parameters of writing images to PDF (PDF/A) files. These parameters allow you to reset the parameters defined in the chosen export scenario.

Properties

Name Type Description
Application Engine, read-only Returns the Engine object.
BwPictureFormats int

Specifies the image format to be used when saving a PDF (PDF/A) file with embedded black-and-white pictures. The value of this property is an OR superposition of the BwPictureFormatsEnum enumeration constants.

Some constraints are imposed on the value of this property:

The default value for this property is BWPF_Auto.

BwPictureResolutionParams PictureResolutionParams, read-only

Specifies the resolution of writing black-and-white images to output files.

The property is only usable when the IPDFExportParams::MRCMode property is set to MRC_Disable; otherwise, the value of this property is ignored.

ColorPictureFormats int

Specifies the image format to be used when saving a PDF (PDF/A) file with embedded color pictures. The value of this property is an OR superposition of the ColorPictureFormatsEnum enumeration constants.

Some constraints are imposed on the value of this property:

The default value for this property is CPF_Auto, which means that the format is defined automatically.

ColorPictureResolutionParams PictureResolutionParams, read-only

Specifies the resolution of writing color images to output files.

The property is only usable when the IPDFExportParams::MRCMode property is set to MRC_Disable; otherwise, the value of this property is ignored.

EnableInterpolationMode ThreeStatePropertyValueEnum

This property specifies if the output PDF document supports image interpolation in PDF viewers. You cannot set this property to TSPV_Yes if the IPDFExportParams::PDFAComplianceMode is set to any of the constants except PCM_None, because PDF/A formats require that the interpolation is turned off.

The default value of this property is TSPV_Auto, which means that the interpolation will be turned off for PDF/A-compliant formats and on otherwise.

EnableSharpenFilter VARIANT_BOOL

This property specifies whether the image must be additionally sharpened. We recommend using it if you are exporting to image-only or image over text format to make the text look clearer while decreasing the image resolution and the file size.

This property is FALSE by default.

GrayPictureFormats int

Specifies the image format to be used when saving a PDF (PDF/A) file with embedded gray pictures. The value of this property is an OR superposition of the GrayPictureFormatsEnum enumeration constants.

Some constraints are imposed on the value of this property:

The default value for this property is GPF_Auto, which means that the format is defined automatically.

GrayPictureResolutionParams PictureResolutionParams, read-only

Specifies the resolution of writing gray images to output files.

The property is only usable when the IPDFExportParams::MRCMode property is set to MRC_Disable; otherwise, the value of this property is ignored.

JpegQuality int

Stores the value of the JPEG quality for pictures saved in PDF (PDF/A) format in percent. This value is used with JBIG2, color and gray JPEG, color and gray JPEG 2000 image formats.

The default value of this property is 45%.

MRCParams PDFMRCParams, read-only

Specifies Mixed Raster Content parameters of the PDF (PDF/A) file.

The property is only usable when the IPDFExportParams::TextExportMode property is set to PEM_ImageOnText or PEM_ImageOnly and IPDFExportParams::MRCMode property is set to MRC_Auto or MRC_Always, otherwise the value of this property is ignored.

Related objects

Object Diagram

See also

Tuning Export Parameters

Working with Profiles

Working with Properties

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.