This plugin performs the functionality of creating the display png files for the images being processed. This plugin takes all the images and create png files for each to be shown on the UI. It uses ImageMagick for converting files to png which will be used for OCRing when color switch is “ON”.
Steps for configuring the plugin
- User can select the page process and navigate to create display image plugin configuration page as shown below:
These are the configurations that are required for creating display image. The properties are non editable as the files created by using are required for further plugins.
This plugin has no configurable properties either on UI or in META-INF.
Steps of execution
- Plug-in uses the type of file extension given in plugin properties.
- While executing, ImageMagick parameters are used to generate the display png thumbnail files and the tif files used for comparing and OCRing, if color switch is on.
- These files are then copied to the batch instance folder and their respective entries are made into batch.xml file.
Following are few common error messages seen due to mal-functioning of the plugin:
|S no.||Error message||Possible root cause|
|1||No valid extensions are specified in resources.||There are some corrupt values present in the database for the extension types give in the configuration.|
|2||Problem generating thumbnails. Setting batch Status to error state.||If ImageMagick encountered any issue during converting files to desire file types.|