ImageMagick compression parameters

This section explains the recommended compression parameters for configuring the IMPORT_MULTIPAGE_FILES plugin. For more information about the plugin and how to use it, see Import Multipage Files Plugin.

The following parameters are only applicable when the Image Conversion Process is set to IMAGE_MAGICK.

Compression Parameters

ImageMagick provides various compression parameters to compress an image, which varies depending on the quality and size of your original image file:

  • Uncompressed images

  • Compressed images

  • Good quality, single-page TIF files

  • High-resolution images

Uncompressed images

Use a suitable ImageMagick compression parameter that will reduce the size of the image.

Colored images

Use -compress LZW or -compress JPEG.

Black and white images

Use -compress Group4.

Compressed images

Use the same compression parameter that was previously used to compress the original image.

For example, already compressed images with JPEG compression should use the -compress JPEG parameter.

This may increase the size of the image by a small amount but will maintain consistency in quality.

Good quality, single-page TIF files

Use any of the following parameters to reduce the size of the image, depending on your specific use case:

  • -quality

  • -depth

  • -scale

In cases where compression is done with image depth, -depth 1 can be used, which creates black and white images. This is faster than applying compression on black and white images using -compress Group4.

High-resolution images

If an image resolution is above a particular threshold, it can be resized to the threshold resolution to reduce the file size and potentially speed up the OCR process.