Image normalization rules

The following rules are used for handling the resolution and dimension. The first matching rule governs the conversion:

  1. If the resolution of an incoming image matches the requested resolution, the image is not changed.

  2. If the MaxPrintSize parameter is set to a certain value and if the print size of an image exceeds this value, then the image is changed without retaining the original print size. This is done by changing the resolution without resampling the image.

    This parameter is available in the in the C:\Program Files (x86)\Kofax\KIC-ED\MC\Scripts script file. By default, MaxPrintSize is set to 60.

  3. If the x and y resolutions differ, the image is resampled to the requested resolution (non-quadratic pixel case).

  4. If the resolution value is wrong, it is set to the requested value without resampling the image. This will change the printing size of the image. Such images are not resampled in order to avoid quality loss. A resolution is wrong if one of the following conditions are true:

    • The resolution is below the MindxResolution which is set to 96 dpi. (if the MindxResolution is not set, ImageMagick returns 72 dpi)

    • The resolution exceeds 200 dpi and the width is less than 1500 pixel (19.5cm@200dpi).

    • The resolution exceeds 200 dpi and the height is less than 2000 pixel (25.4cm@200dpi).

  5. If the resolution is higher than requested, the image is down-sampled to the requested resolution.

  6. If none of the listed rules applies, the image conversion depends on the configuration in the script file image2tif.bat in the folder C:\Program Files (x86)\Kofax\KIC-ED\MC\Scripts. Open the file with a text editor and change the value in the line Set ResetResolution=0. The following values are supported:

    • 0: Resample image and change resolution. This is the default option, same behavior as in Kofax Import Connector 1.0.0 and 2.0.0 or Kofax Capture Import Connector - Folder. Image file size is increased without improving image quality. Resampling can be a time-consuming operation that often results in lower performance.

    • 1: Change the resolution without resampling. This reduces the print size of the image. This is the same behavior as in Kofax Import Connector 2.1.0.

    • 2: Image is not changed. Best performance.