www.ocr4linux.com / Documentation Home / Step 1: image processing keys
Key | Parameters | Default | Description |
---|---|---|---|
-icsb |
--calcSkewByBlackSquares |
||
no |
|
The skew angle for an image is calculated using information about the so called "black squares". |
|
-icq |
--colorJpegQuality |
||
JPEG quality in percent |
75 |
Specifies the value of the JPEG quality in percent for saving color pictures to JPEG format files. |
|
-ics |
--dontCorrectSkew |
||
no |
|
The skew angle for an image is corrected during the preparation process. |
|
-icp |
--createPreview |
||
no |
|
Creates preview page for the prepared image. |
|
-igq |
--grayJpegQuality |
||
JPEG quality in percent |
25 |
Specifies the value of the JPEG quality in percent for saving gray pictures to JPEG format files. |
|
-ic |
--imageCompression |
||
ABBYYLossless JPEG lossy compression. This compression type provides the least image file size and the worst image quality. Uncompressed This compression type provides the largest image file size, the quality of the original image, and the least processing time. |
ABBYYLossless |
Specifies the compression type for ABBYY FineReader Engine temporary image files |
|
-ii |
--invertImage |
||
no |
|
Inverts the colors of the prepared image. |
|
-im |
--mirrorImage |
||
no |
|
Mirrors the prepared image around its vertical axis. |
|
-id |
--despecleImage |
||
no |
|
Removes small garbage areas from the prepared image. |
|
-ibw |
--convertToBWImage |
||
no |
|
Leaves only black-and-white planes in the prepared image. |
|
-ior |
--overwriteResolution |
||
no |
|
Allows to overwrite resolution of the prepared image. |
|
-iph |
--previewHeight |
||
height in pixels of the preview page |
90 |
Specifies the height in pixels of the preview page. |
|
-ipw |
--previewWidth |
||
width in pixels of the preview page |
64 |
Specifies the width in pixels of the preview page. |
|
-ir |
--imageRotation |
||
NoRotation Rotation 90 degrees clockwise. Counterclockwise Rotation 90 degrees counterclockwise or 270 degrees clockwise. Upsidedown Rotation upside down, or 180 degrees. |
|
Specifies the rotation angle to apply to the image during preparation. |
|
-isci |
--dontSmoothcolorImage |
||
no |
|
Specifies whether a color image should be smoothed. Smoothing the image reduces its size but at the cost of its quality. This key is only taken into account if the -ic key is ABBYYLossless. |
|
-ixr |
--xResolutionToOverwrite |
||
horizontal resolution in dpi |
300 |
Specifies the value in dpi to which the horizontal resolution of the image is reduced if the -ior key is used. |
|
-iyr |
--yResolutionToOverwrite |
||
vertical resolution in dpi |
300 |
Specifies the value in dpi to which the vertical resolution of the image is reduced if the -ior key is used. |
Note. Full keys are marked by italic.