> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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

<table><thead><tr><th><p><strong>Name</strong></p></th><th><p><strong>Type</strong></p></th><th><p><strong>Description</strong></p></th></tr></thead><tbody><tr><td><p><strong>Application</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/engine-object-iengine-interface">Engine</a></strong>, <a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">read-only</a></p></td><td><p>Returns the <strong>Engine</strong> object.</p></td></tr><tr><td><p><a name="bwpictureformats" /><strong>BwPictureFormats</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>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 <strong><a href="/fine-reader/engine/api-reference/enumerations/bwpictureformatsenum">BwPictureFormatsEnum</a></strong> enumeration constants.</p><p>Some constraints are imposed on the value of this property:</p><ul><li>The value of this property is ignored, if the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#textexportmode">IPDFExportParams::TextExportMode</a></strong> property is set to PEM\_TextOnly.</li><li>If the PDF file version (<strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#pdfversion">IPDFExportFeatures::PDFVersion</a></strong>) is 1.3, this property can only be set to BWPF\_Auto or BWPF\_CCITT4.</li></ul><p>The default value for this property is BWPF\_Auto.</p></td></tr><tr><td><p><a name="bwpictureresolutionparams" /><strong>BwPictureResolutionParams</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pictureresolutionparams">PictureResolutionParams</a></strong>, <a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">read-only</a></p></td><td><p>Specifies the resolution of writing black-and-white images to output files.</p><p>The property is only usable when the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#mrcmode">IPDFExportParams::MRCMode</a> </strong>property is set to MRC\_Disable; otherwise, the value of this property is ignored.</p></td></tr><tr><td><p><a name="colorpictureformats" /><strong>ColorPictureFormats</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>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 <strong><a href="/fine-reader/engine/api-reference/enumerations/colorpictureformatsenum">ColorPictureFormatsEnum</a></strong> enumeration constants.</p><p>Some constraints are imposed on the value of this property:</p><ul><li>The value of this property is ignored, if the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#textexportmode">IPDFExportParams::TextExportMode</a></strong> property is set to PEM\_TextOnly.</li><li>The property cannot be set to CPF\_Png.</li><li>The property can be set to CPF\_LZW, only if the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#pdfacompliancemode">IPDFExportParams::PDFAComplianceMode</a></strong> is set to PCM\_None.</li><li>The property cannot be set to CPF\_J2K, if the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#pdfacompliancemode">IPDFExportParams::PDFAComplianceMode</a></strong> is set to PCM\_Pdfa\_1b or PCM\_Pdfa\_1a.</li><li>This property can be set to CPF\_J2K, only if PDF version (<strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#pdfversion">IPDFExportFeatures::PDFVersion</a></strong>) is 1.5 or higher.</li></ul><p>The default value for this property is CPF\_Auto, which means that the format is defined automatically.</p></td></tr><tr><td><p><a name="colorpictureresolutionparams" /><strong>ColorPictureResolutionParams</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pictureresolutionparams">PictureResolutionParams</a></strong>, <a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">read-only</a></p></td><td><p>Specifies the resolution of writing color images to output files.</p><p>The property is only usable when the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#mrcmode">IPDFExportParams::MRCMode</a> </strong>property is set to MRC\_Disable; otherwise, the value of this property is ignored.</p></td></tr><tr><td><p><a name="enableinterpolation" /><strong>EnableInterpolationMode</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/enumerations/threestatepropertyvalueenum">ThreeStatePropertyValueEnum</a></strong></p></td><td><p>This property specifies if the output PDF document supports image interpolation in PDF viewers. You cannot set this property to TSPV\_Yes if the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#pdfacompliancemode">IPDFExportParams::PDFAComplianceMode</a></strong> is set to any of the constants except PCM\_None, because PDF/A formats require that the interpolation is turned off.</p><p>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.</p></td></tr><tr><td><p><a name="enablesharpenfilter" /><strong>EnableSharpenFilter</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">VARIANT\_BOOL</a></strong></p></td><td><p>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.</p><p>This property is FALSE by default.</p></td></tr><tr><td><p><a name="graypictureformats" /><strong>GrayPictureFormats</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>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 <strong><a href="/fine-reader/engine/api-reference/enumerations/graypictureformatsenum">GrayPictureFormatsEnum</a></strong> enumeration constants.</p><p>Some constraints are imposed on the value of this property:</p><ul><li>The value of this property is ignored, if the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#textexportmode">IPDFExportParams::TextExportMode</a></strong> property is set to PEM\_TextOnly.</li><li>The property cannot be set to GPF\_Png.</li><li>The property can be set to GPF\_LZW, only if the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#pdfacompliancemode">IPDFExportParams::PDFAComplianceMode</a></strong> is set to PCM\_None.</li><li>The property cannot be set to GPF\_J2K, if the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#pdfacompliancemode">IPDFExportParams::PDFAComplianceMode</a></strong> is set to PCM\_Pdfa\_1b or PCM\_Pdfa\_1a.</li></ul><ul><li>This property can be set to GPF\_J2K, only if PDF version (<strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportfeatures#pdfversion">IPDFExportFeatures::PDFVersion</a></strong>) is 1.5 or higher.</li></ul><p>The default value for this property is GPF\_Auto, which means that the format is defined automatically.</p></td></tr><tr><td><p><a name="graypictureresolutionparams" /><strong>GrayPictureResolutionParams</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pictureresolutionparams">PictureResolutionParams</a></strong>, <a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">read-only</a></p></td><td><p>Specifies the resolution of writing gray images to output files.</p><p>The property is only usable when the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#mrcmode">IPDFExportParams::MRCMode</a> </strong>property is set to MRC\_Disable; otherwise, the value of this property is ignored.</p></td></tr><tr><td><p><a name="jpegquality" /><strong>JpegQuality</strong></p></td><td><p><strong><a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">int</a></strong></p></td><td><p>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.</p><p>The default value of this property is 45%.</p></td></tr><tr><td><p><a name="mrcparams" /><strong>MRCParams</strong></p></td><td><p><strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfmrcparams">PDFMRCParams</a></strong>, <a href="/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">read-only</a></p></td><td><p>Specifies Mixed Raster Content parameters of the PDF (PDF/A) file.</p><p>The property is only usable when the <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#textexportmode">IPDFExportParams::TextExportMode</a> </strong>property is set to PEM\_ImageOnText or PEM\_ImageOnly and <strong><a href="/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#mrcmode">IPDFExportParams::MRCMode</a> </strong>property is set to MRC\_Auto or MRC\_Always, otherwise the value of this property is ignored.</p></td></tr></tbody></table>

## Related objects

<img src="https://mintcdn.com/abbyy/i-EfCQVmseNiPQcp/images/fine-reader/engine/pdfpicturecompressionparams.gif?s=bce34b1b541f6204f6a948636a5491dd" alt="PDFPictureCompressionParams" width="242" height="181" data-path="images/fine-reader/engine/pdfpicturecompressionparams.gif" />[](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pictureresolutionparams)[](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pictureresolutionparams)[](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pictureresolutionparams)[](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfmrcparams)[](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams#picturecompressionparams)[](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfexportparams)

[Object Diagram](/fine-reader/engine/api-reference/object-diagram)

## See also

[Tuning Export Parameters](/fine-reader/engine/guided-tour/advanced-techniques/tuning-export-parameters)

[Working with Profiles](/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles)

[Working with Properties](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
