Expand my Community achievements bar.

Image extensions for renditions in DAM.

Avatar

Level 1

Hi Team,

I have a question to ask here :

Whenever we upload any image asset in DAM its rendition is always of type PNG irrespective of the extension of image we upload.

For eg if I upload A.jpeg , the corresponding renditions which will be created would be A.png.

How about if I want to get A.jpeg for renditions, please let me know if any body have got any solution for this.

Thanks

Yuvraj

6 Replies

Avatar

Level 1

I have the same question and my requirement is whenever an image of the different type is uploaded to Dam the renditions should be Jpeg.

Avatar

Administrator

Checking with the engineering team.



Kautuk Sahni

Avatar

Administrator

Checking this with Engineering.



Kautuk Sahni

Avatar

Level 4

Hi,

If you look at the rendition maker API, RenditionMaker ("The Adobe AEM Quickstart and Web Application.") , you will see there are certain available methods that create a rendition template based on a mimetype passed.

If you open DAM update Asset workflow and try to edit the 'Process Thumbnails' step, there is a 'Web enabled Image' in the dialog that takes a mimetype and generates a rendition based on the configuration done.

If you want to add more renditions, drag and drop the 'Create Web Enabled Image' step and make configurations as required.

Screen Shot 2018-04-23 at 11.21.38 AM.png

Hope this helps!!

Avatar

Level 3

Hi @yuvrajb70925184

1. Top three renditions are thumbnails and thumbnails are always png(48:48, 140:100, 319:319)

2. There is one extra web renditons from AEM, which will be jpeg or png based on source image type.

Below is the workflow of dam renditions

http://localhost:4502/etc/workflow/models/dam/update_asset.html

thumbnail step: Process Thumbnails

Renditions step: Create Web Enabled Image --> You need to add this step from side kick, multiple times in workflow and give required renditions (Like 1280, 1680, 720 ......)

The other better solutions is use Dynamic Media in aem which does better job. By creating a Tiff(image-set) and can render any sizes at run time, with right params.

https://helpx.adobe.com/experience-manager/6-3/assets/using/config-dynamic.html

Then you can access renditions like

http://localhost.com:4502/is/image/content/dam/renditions/img-03.jpg?wid=960&fmt=jpeg&qlt=90,0&resMode=sharp&op_usm=1.1,0.5,1,0