OCR [used with ocrimagepdf or tifftopdf/ mergetifftopdf]

ParameterNotes
/pdfa

Use this flag to generate a PDF/A compliant file, below are the possible values it can take.

  • 1 (Generates a PDF/A-1b file e.g. /pdfa=1)

  • 2 (Generates a PDF/A-2b file)

  • 3 (Generates a PDF/A-3b file)

/ocr

Set to true if a searchable PDF is required.

Note: This will work with the tifftopdf and mergetifftopdf steps only.

/password

Source PDF password

Note: This will work with the ocrimagepdf step only

/NonImagePDF

This allows control over the treatment of non-image PDFs, i.e. PDFs that have some text in them as well as images. The options are:

  • OCR: The document will be OCRed using the image method defined by “Image Method”

  • Raise Error: The task will terminate with an error. If “On Error Continue” is set this then behaves as Skip. This is the default.

  • Skip: The document will not be processed.

  • Pass Through: The file will not be processed, but a copy of the document will be made and named as if the processing had occurred.

Note: This will work with the ocrimagepdf step only.

/RemoveHiddenText

When set to true this will not include any searchable text layers that already exist from the source document. Such functionality might be useful if the source document was created by OCR of an image only PDF or other image file and the quality of the text from the previous OCR is poor. NOTE: There is no way to distinguish text added as a result of OCR from text added by other means and as a result, this option should be used with care.

Note: This will work with the ocrimagepdf step only.

/deskewWhen set to true this will straightens the image
/despeckle

Removes dots below the specified pixel size, the possible input values range from 0-9.

Note: To carry over the despeckled image to the output file, set the SavePreDespeckle flag explained below to false.

/SavePreDespeckleIf set to true and despeckle is also set to true, the pre-despeckled image is added in the output PDF document. Other pre-processing settings such as line removal and morph are not maintained in the output PDF document if enabled.
/autorotateRotates the page image if required
/language

OCR Language dictionary to be used. The default is English.

LANGUAGE/language Flag Value
English0
German1
French2
Russian3
Swedish4
Spanish5
Italian6
Russian English7
Ukrainian8
Serbian9
Croatian10
Polish11
Danish12
Portuguese13
Dutch14
Czech15
Roman16
Hungarian17
Bulgar18
Slovenian19
Latvian20
Lithuanian21
Estonian22
Turkish23
/graphicsproc
  • “all”: Treat all Graphics Areas as Text.

  • “box”: Remove Box Lines in OCR Processing.

/extractimages

One of the following:

  • Auto – TIFF Junction will select the most appropriate method.

  • Convert to TIFF – The PDF is rasterized using conversion to PDF.

  • Native

/PDFDPI

An integer value representing the resolution of the rasterized Tiff file if “Convert to TIFF” is used above.

Note: This setting will only work if extractimages is set to Convert to TIFF

/TIFFCompression

Sets the Compression for the TIFF file used if the “Convert To TIFF” Option above is used.

• Auto (Selects Group 4 if the page is Black AND White else it uses LZW Compression)

• Group 4 (Black and White)

• LZW (Colored)

Note: This setting will only work if extractimages is set to Convert to TIFF

/RetainBookmarks

Set to true to retain bookmarks from the original PDF. They are copied to the searchable result PDF.

Note: This setting will only work if extractimages is set to Convert to TIFF and operation is set to ocrimagepdf

/RetainMetadata

Set to true to retain metadata from the original PDF. They are copied to the searchable result PDF.

Note: This setting will only work if extractimages is set to Convert to TIFF and operation is set to ocrimagepdf

/mrc

This enables Mixed Raster Compression which can dramatically reduce the output size of PDFs comprising color scans.

Note: This setting will only work if extractimages is set to Convert to TIFF

/JBIG2

This is a compression used for Bitonal images.

Note: This setting will only work if extractimages is set to Convert to TIFF

/OCRTextFile

This option tells Autobahn DX that text found in the document should also be written to a text output file. The output file can be of 4 different types, use the “/TextFile” flag below to specify.

  • true: produce text output

  • false: do not produce text output

/TextFile

This flag must be used together with the “/OCRTextFile” flag above, it specifies the type of text file to be produced

ValueOutput files
“plain text”txt, pdf
“plain text (no pdf)”txt only
“rtf”rtf, pdf
“html”html, pdf
/optimiseocr See the Advanced Pre-Processing Section for a full explanation of this option.