Need to create different renditions (with different DPI) while uploading images | Community
Skip to main content
Level 2
October 16, 2015
Solved

Need to create different renditions (with different DPI) while uploading images

  • October 16, 2015
  • 3 replies
  • 1114 views

Hi all,

I have a requirement to create different renditions with higher dpi than actual uploaded asset's dpi. Is it possible in AEM?

Eg. I am uploading an image of 572X320 with 72 dpi.  DAM update asset workflow  I need to have a new process named 'high dpi rendition' like 'web enabled rendition' which need to create new rendition 220X125 and 1200 X 1200  with 300 dpi. or any out-of-box process is available where I can provide height , width and dpi.

Is there any limit in number of renditions that can be created for an asset?

Which all type of asset can have renditions like
images -jpeg,gif,png,bmp
Audio -mp3,.wav
Video =flv,mp4,mov
Doc-indd,ai,doc,pdf,xls,ppt 
 

Thanks in advance
LM

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Use Command line process with ImageMagick to convert into required dpi

3 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Use Command line process with ImageMagick to convert into required dpi

Lokesh_Shivalingaiah
Level 10
October 16, 2015

You can also refer OOTB Rendition workflow

Level 2
October 16, 2015

Sham HC wrote...

Use Command line process with ImageMagick to convert into required dpi

 

Using ImageMagick to convert the required DPI with a workflow is pretty straight forward. 

When I process /content/dam/site/originalImage.jpg it generates a rendition called

originalImage.web.jpg
            
The only way I can get to that rendition is to use this path: 
/content/dam/site/originalImage.jpg/jcr:content/renditions/originalImage.web.jpg
            
How do I access that rendition without using jcr:content in the path? How do I get the rendition to show up in content finder for the author?
Even better, how can I replace the orignal image with this new rendition?