Step 3: Export to PDF/A MRC
PDF/A is new in CLI OCR Version 9.0, so the export format is not available in V8.
PDF/A Standard Keys – PDF/A 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:
--pdfaMrcMRCEnabled
| Key | Parameters | Default |
| -pamrc | no | |
| –pdfaMrcMRCEnabled |
--pdfaMrcBackgroundColor
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).
| Key | Parameters | Default |
| -pambc | lor in RGB format or original string parameter | 0xffffff |
| –pdfaMrcBackgroundColor |
--pdfaMrcBackgroundDownSampling
| Key | Parameters | Default |
| -pambds | background down sampling rate | 4 |
| –pdfaMrcBackgroundDownSampling |
| Key | Parameters | Default |
| -pambf | JpegColor, JpegGray
(see descriptions in ExportPictureFormatEnum) | JpegColor |
| –pdfaMrcBackgroundFormat |
--pdfaMrcBackgroundQuality
| Key | Parameters | Default |
| -pambq | background JPEG quality in percent | 5 |
| –pdfaMrcBackgroundQuality |
--pdfaMrcColorMaskDownSampling
| Key | Parameters | Default |
| -pamcmds | color mask down sampling rate | 4 |
| –pdfaMrcColorMaskDownSampling |
| Key | Parameters | Default |
| -pamcmf | JpegColor
JpegGray
ZipColor
(see descriptions in ExportPictureFormatEnum) | ZipColor |
| –pdfaMrcColorMaskFormat |
--pdfaMrcColorMaskQuality
| Key | Parameters | Default |
| -pamcmq | color mask JPEG quality in percent | 30 |
| –pdfaMrcColorMaskQuality |
--pdfaMrcCompressionLevel
| Key | Parameters | Default |
| -pamcl | LowCompression
AvgCompression
MaxCompression
Custom
(see descriptions in PDFMRCCompressionLevelEnum) | AvgCompression |
| –pdfaMrcCompressionLevel |
--pdfaMrcDoNotKeepBackground
| Key | Parameters | Default |
| -pamnkb | no | |
| –pdfaMrcDoNotKeepBackground |
--pdfaMrcNotMonochromeText
| Key | Parameters | Default |
| -pamnmt | no | |
| –pdfaMrcNotMonochromeText |
--pdfaMrcPicturesInBackground
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.
| Key | Parameters | Default |
| -pampib | no | |
| –pdfaMrcPicturesInBackground |
--pdfaMrcTextColor
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).
| Key | Parameters | Default |
| -pamtc | color in RGB format | 0x000000 |
| –pdfaMrcTextColor |
--pdfaMrcTextMaskDownSampling
| Key | Parameters | Default |
| -pamtmds | text mask down sampling rate | |
| –pdfaMrcTextMaskDownSampling |
--pdfaMrcTextMaskFormat
| Key | Parameters | Default |
| -pamtmf | CCITT4
JBIG2
(see descriptions in ExportPictureFormatEnum) | JBIG2 |
| –pdfaMrcTextMaskFormat |
--pdfaMrcTextMaskQuality
| Key | Parameters | Default |
| -pamtmq | text mask JPEG quality in percent | 75 |
| –pdfaMrcTextMaskQuality |