Import Multipage Files plugin
Import Multipage Files plugin is required when running a batch on multipage images. This plugin will break the multipage .pdf and .tiff files into multiple single page .tiff files.
Multipage .pdf files will be converted to single page .tiff files using Ghostscript/Recostar.
Multipage .tiff files will be converted to single page .tiff files using ImageMagick/GraphicMagick.
Configuration
IMPORT_MULTIPAGE_FILES 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 |
|
Switch for multipage files import plugin. If set to NO, multipage files (.pdf and .tiff) will not be 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 |
|
.pdf to .tiff conversion process |
Recostar Compression Ratio |
List of values |
|
Compression ratio while converting .pdf to .tiff through Recostar |
Image Conversion Process |
List of values |
|
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 |
|
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: <Ephesoft Transact-Installation-Path>/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 Import Multipage Files plugin, the following errors may appear.
Error message |
Possible root cause |
---|---|
Invalid property file configuration |
The following properties in the <Transact-Installation-Path>/Application/WEB-INF/classes/META-INF/dcma-import-folder/dcma-import-folder.properties file are empty:
|
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. |