ABBYY FineReader Engine 9.0 CLI for Linux
PDFA MRC keys

www.ocr4linux.com / Documentation Home /Step 3: PDFA MRC keys

 

Note: If you would like to tune PDFA Mixed Raster Content parameters manually, please use the following order of MRC keys in your CLI command:

 

Key Parameters Default Description

-pamrc

--pdfaMrcMRCEnabled

no

 

This key specifies whether tuning Mixed Raster Content (MRC) parameters is enabled. By default, MRC is disabled.

-pambc

--pdfaMrcBackgroundColor

color in RGB format or original string parameter

0xffffff

This key specifies the background color. You can use -pambc key with original parameter. In this case, the background color will be detected automatically based on the original background. By default the background color is white or RGB(255,255,255).

-pambds

--pdfaMrcBackgroundDownSampling

background down sampling rate

4

This key specifies the down sampling rate of the background. Only a positive rate makes sense.

-pambf

--pdfaMrcBackgroundFormat

JpegColor
JpegGray
(see descriptions in ExportPictureFormatEnum)

JpegColor

This key specifies the background format.

-pambq

--pdfaMrcBackgroundQuality

background JPEG quality in percent

5

This key specifies the value of JPEG compression for background color in percentage points.

-pamcmds

--pdfaMrcColorMaskDownSampling

color mask down sampling rate

4

This key specifies the down sampling rate of the color mask. Only a positive rate makes sense.

-pamcmf

--pdfaMrcColorMaskFormat

JpegColor
JpegGray
ZipColor
(see descriptions in ExportPictureFormatEnum)

ZipColor

This key specifies the color mask format.

-pamcmq

--pdfaMrcColorMaskQuality

color mask JPEG quality in percent

30

This key specifies the color mask JPEG quality in percentage points. The bigger the value, the better the quality.

-pamcl

--pdfaMrcCompressionLevel

LowCompression
AvgCompression
MaxCompression
Custom
(see descriptions in PDFMRCCompressionLevelEnum)

AvgCompression

This key specifies the MRC compression level.

-pamnkb

--pdfaMrcDoNotKeepBackground

no

 

This key specifies not to keep the original background during export to PDF/A. If -pamnkb key is not used, the original background is retained.

-pamnmt

--pdfaMrcNotMonochromeText

no

 

When this key is not used, the recognized text is monochrome. Also if you do not use -pamnmt key, you can specify the text color using -pamtc key.

-pampib

--pdfaMrcPicturesInBackground

no

 

This key specifies whether pictures should be considered as parts of the background. If you use -pampib key, the background compression options are used for the pictures. When you do not use this key, pictures are not considered as parts of the background.

-pamtc

--pdfaMrcTextColor

color in RGB format

0x000000

This key specifies the text color in monochrome mode, i.e., only when -pamnmt key is not used. By default, the text color is black or RGB(0,0,0).

-pamtmds

--pdfaMrcTextMaskDownSampling

text mask down sampling rate

1

This key specifies the down sampling rate of the text mask. Only a positive rate makes sense.

-pamtmf

--pdfaMrcTextMaskFormat

CCITT4
JBIG2
(see descriptions in ExportPictureFormatEnum)

JBIG2

This key specifies the text mask compression algorithm.

-pamtmq

--pdfaMrcTextMaskQuality

text mask JPEG quality in percent

75

This key specifies the text mask quality in percentage points. The bigger the value, the better the quality.

 

Note. Full keys are marked by italic.

See also

ABBYYOCR CLI for Linux - Documentation Home