update processimages.groovy to:
1. pull image resize values from the xml conf file (see ImageSetConfig?)
2. smartly resize images based on image type/extension (see DocumentManagementService?.resizeImages
3. scale images correctly (see ImageResizeService?) so they
4. handle issue images appropriately
5. error out if a file extension doesn't match one of the below
Here is a list of current image extensions found in both AP and CW (marked with "*") zip files. Currently, we only need to support CW files but will need to extend later to support AP files.
Convert to PNG:
<filename>.e###.tif *
<filename>.ex###.tif
Convert to PNG and remove background matte using command "convert image_old.png +matte image_new.png"
<filename>.e###.gif
<filename>.ex###.gif
<filename>.m###.gif
<filename>.m####.gif
<filename>.x###.gif
Convert to PNG and create small, medium and large images:
<filename>.g###.tif *
<filename>.f###.tif
<filename>.t###.tif *