Expand my Community achievements bar.

SOLVED

[AEM 6.1] Create rendition with higher DPI

Avatar

Level 3

Hi All,

We need to create a new image rendition with higher resolution/DPI than the uploaded original images in DAM.

The original image would be approximately 700x600 with 96pi and we need a rendition 1800x1800 with 300 DPI. We would like this rendition to appear in the image rendition section along with the other renditions(looking to update DAM Update Asset workflow).

I have come across articles suggesting to use CommandLine process with ImageMagick in DAM Update Asset workflow, but not sure how to get request for a specific DPI(300). What would be the command in this Command line process step?

I am also interested in knowing how this would effect the performance of the instance and if there are any alternative methods to achieve this.

Appreciate your help!

Thanks,

Ramya

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi,

I am able to create high resolution image rendition with 300dpi using the below Imagemagick command:

"<Installation-Path>\magick.exe" convert ${filename} -resize "1800x" -units PixelsPerInch -density 300 finalImageName

Will there be any performance impact with the usage of ImageMagick on AEM authoring instance? Are there any measures/best practices to handle this?

Thanks,

Ramya

View solution in original post

3 Replies

Avatar

Level 8

Hi,

I see some command provided in the below documentation in section "An Example Using ImageMagick"

Processing Assets Using Media Handlers and Workflows - docs.adobe.com

Avatar

Correct answer by
Level 3

Hi,

I am able to create high resolution image rendition with 300dpi using the below Imagemagick command:

"<Installation-Path>\magick.exe" convert ${filename} -resize "1800x" -units PixelsPerInch -density 300 finalImageName

Will there be any performance impact with the usage of ImageMagick on AEM authoring instance? Are there any measures/best practices to handle this?

Thanks,

Ramya

Avatar

Level 8

Hi,

"ImageMagick" section in the below article

AEM Assets Performance Tuning Tips  has few pointers mentioned