Expand my Community achievements bar.

SOLVED

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

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

Use Command line process with ImageMagick to convert into required dpi

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Use Command line process with ImageMagick to convert into required dpi

Avatar

Level 10

You can also refer OOTB Rendition workflow

Avatar

Level 2

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?