Transact

  1. Home
  2. Transact
  3. Features and Functions
  4. Administrator Role and Features
  5. Module/Plugin Configuration
  6. Folder Import Module
  7. Import multipage files plugin

Import multipage files plugin

Overview

Import Multipage Files plugin is required when running a batch on multipage images. This plugin will break the multipage pdf’s and tiffs into multiple single page tiffs. Multipage pdf’s will be converted to single page tiffs using Ghostscript/Recostar whereas multipage tiffs will be converted to page single page tiffs using ImageMagick/GraphicMagick .

Configuration

UI Configuration

IMPORT_MULTIPAGE_FILES properties can be edited at following admin UI:

Configurable propertyType of valueValue optionsDescription
IM Convert Input Image ParametersStringN-AInput parameters for ImageMagick image conversion process that should be used for multipage tiff to multiple single page tiffs conversion.
Multi Page ImportList of values
  • YES
  • NO
Switch for multipage files import plugin. If set to NO, multipage files (pdf and tiff) will not be converted to multiple single page tiffs.
IM Convert Output Image ParametersStringN-AOutput parameters for ImageMagick image conversion process that should be used for multipage tiff to multiple single page tiffs conversion.
Ghostscript Image Parameters:StringN-AParameters for Ghostscript

command that should be used for multipage pdf to multiple single page tiffs conversion.

PDF To TIFF Conversion ProcessList of values
  • Ghostscript
  • Recostar
PDF to TIFF conversion process
Recostar Compression RatioList of values
  • 10
  • 20
  • 30
  • 40
  • 50
  • 60
  • 70
Compression ratio while converting PDF to TIFF through Recostar
Image Conversion ProcessList of values
  • IMAGE_MAGICK
  • GRAPHIC_MAGICK
Multi-page TIFF image conversion process. Default value is IMAGE_MAGICK.
GM Convert Output Image ParametersStringN-AOutput parameters for GraphicMagick image conversion process that should be used for multipage tiff to multiple single page tiffs conversion.
GM Convert Input Image ParametersStringN-AInput parameters for GraphicMagick image conversion process that should be used for multipage tiff to multiple single page tiffs conversion.

Property File Configuration

Property File location: <Ephesoft-Installation-Path> ApplicationWEB-INFclassesMETA-INFdcma-import-folderdcma-import-folder.properties*

Configurable propertyType of valueValue optionsDescription
import.folder_ignore_char_listStringN-ASemi colon separated of characters that are to be replaced in the file names encountered by the plugin.
import.ignore_replace_charStringN-ACharacter 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:

Results

  • PDF Size: 514Kb
  • Number of pages in PDF: 26

Note: PDF contained mixture of colored and B/W images

-sDEVICEType of outputSize per image produced(in KB)Total images size(in MB)
tiff12ncSame type of images12,241325
tiff24ncSame type of images25,446626
tiff48ncSame type of images51,1481258
tiffscaled24 -sCompression=lzw Same type of images250-4006.75
tifflzwAll images converted to B/W50-901.4

Troubleshooting

Following are few common error messages received due to mal-functioning of the plugin:

S no.Error messagePossible root cause
1Invalid property file configurationThe following properties located in “<Ephesoft-Installation-Path> ApplicationWEB-INFclassesMETA-INFdcma-import-folder dcma-import-folder.properties” file in are empty:

  • import.folder_ignore_char_list
  • import.ignore_replace_char
2Converted 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.

Articles

Was this article helpful to you? Yes No