ImageMagick is a software plugin to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear, and transform images. You can also adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses, and curves using ImageMagick.

Run the installation file to install ImageMagick on the disk hosting the AEM server.

Set the path Environment variable to the ImageMagic installation directory.

To check whether the installation was successful, run the identify -version command.

Setting Up the Command Line Process Step

You can set up the command line process step for your particular use case. Perform these steps to generate a flipped image and thumbnails (140x100, 48x48, 319x319, and 1280x1280) each time you add a JPEG image file to /content/dam on the AEM server:

On the AEM server, go to the Workflow console (http://<AEM server>:<Port>/workflow) and open the DAM Update Asset workflow model.

From the DAM Update Asset workflow model, open the EPS thumbnails (powered by ImageMagick) step.

In the Web Enabled Image tab, specify the details for the rendition with dimentions 1280x1280 pixels. In addition, specify image/jpeg in the Mimetype box.

Tap/click OK to save the changes.

Note:

The convert command may not execute with certain Windows versions (for example Windows SE), because it conflicts with the native convert utility that is part of Windows installation. In this case, mention the complete path for the ImageMagick utility. For example, specify,