Import Multipage Files plugin

Import Multipage Files plugin is required when running a batch on multipage images. This plugin breaks the multipage .pdf and .tiff files into multiple single page .tiff files.

Multipage .pdf files are converted to single page .tiff files using Ghostscript/OmniPage.

Multipage .tiff files are converted to single page .tiff files using ImageMagick/GraphicMagick.

Configuration

Image conversion properties can be edited through Transact.

Configurable property

Type of value

Value options

Description

IM Convert Input Image Parameters

String

N/A

Input parameters for ImageMagick image conversion process that should be used for multipage .tiff to multiple single page .tiff files conversion.

Multi Page Import

List of values

  • YES
  • NO

Switch for multipage files import plugin. If set to NO, multipage files (.pdf and .tiff) are not converted to multiple single page .tiff files.

IM Convert Output Image Parameters

String

N/A

Output parameters for ImageMagick image conversion process that should be used for multipage .tiff to multiple single page .tiff files conversion.

Ghostscript Image Parameters

String

N/A

Parameters for Ghostscript command that should be used for multipage .pdf to multiple single page .tiff files conversion.

PDF To TIFF Conversion Process

List of values

  • Ghostscript
  • OmniPage
  • Recostar (Deprecated)

When you select the Recostar (Deprecated) option, a red warning message appears: "Recostar is obsolete in this release. Its settings are automatically mapped to another engine’s settings during runtime for OCR or PDF conversion. Consider using OmniPage instead."

.pdf to .tiff conversion process

RecoStar Compression Ratio

List of values

  • 10
  • 20
  • 30
  • 40
  • 50
  • 60
  • 70

Compression ratio while converting .pdf to .tiff through OmniPage

Image Conversion Process

List of values

  • IMAGE_MAGICK
  • GRAPHIC_MAGICK

Multipage .tiff image conversion process. Default value is IMAGE_MAGICK.

GM Convert Output Image Parameters

String

N/A

Output parameters for GraphicMagick image conversion process that should be used for multipage .tiff to multiple single page .tiff files conversion.

GM Convert Input Image Parameters

String

N/A

Input parameters for GraphicMagick image conversion process that should be used for multipage .tiff to multiple single page .tiff files conversion.

Optimized Tiff Conversion Switch

List of values

  • ON
  • OFF

If the switch is configured, the conversion and breaking into multipage single .tiff files is done irrespective of the size of the imported images via another utility - libtiff. It increases the overall processing time and reduces the size of the converted images (approximately similar to the input .tiff file).

Property file configuration

Property file location: <Transact Installation Directory>/Application/WEB-INF/classes/META-INF/dcma-import-folder/dcma-import-folder.properties*

Configurable property

Type of value

Value options

Description

import.folder_ignore_char_list

String

N/A

Semicolon separated characters that are to be replaced in the file names encountered by the plugin.

import.ignore_replace_char

String

N/A

Character specified here that will replace the characters mentioned in import.folder_ignore_char_list for the file names encountered by the plugin.

Optimization parameters and results

-sDEVICE parameter

  • -sDEVICE=tiff12nc: Produces 12-bit RGB output.

  • -sDEVICE=tiff24nc: Produces 24-bit RGB output.

  • -sDEVICE=tiff48nc: Produces 48-bit RGB output.

  • -sDEVICE=tiff32nc: Produces 32-bit CMYK output

  • -sDEVICE=tiff64nc: Produces 64-bit CMYK output.

  • -sDEVICE=tiffscaled24 -sCompression=lzw: Produces a 24-bit RGB image and allows the use of a special compression tag along with it which allows us to compress the size of the image.

  • -sDEVICE=tifflzw: Produces black-and-white output and can be combined with various compression options.

Following are the results of images produced by splitting a PDF with the given specifications under different GhostScript parameters:

  • PDF Size: 514 KB

  • Number of pages in PDF: 26

PDF contains mixture of color and B/W images.

-sDEVICE

Type of output

Size per image produced(in KB)

Total images size (in MB)

tiff12nc

Same type of images

12,241

325

tiff24nc

Same type of images

25,446

626

tiff48nc

Same type of images

51,148

1258

tiffscaled24 -sCompression=lzw

Same type of images

250-400

6.75

tifflzw

All images converted to B/W

50-90

1.4

Troubleshooting

If a malfunction occurs with the image conversion process, the following errors may appear.

Error message

Possible root cause

Invalid property file configuration

The following properties in the <Transact Installation Directory>/Application/WEB-INF/classes/META-INF/dcma-import-folder/dcma-import-folder.properties file are empty:

  • import.folder_ignore_char_list

  • import.ignore_replace_char

Converted .tiff files count not equal to the .tiff pages count.

The number of pages in .pdf/multipage .tiff is not equal to the converted .tiff files.

The issue may be related to OmniPage’s conversion process. Verify the configuration settings for the OmniPage plugin.