Expand my Community achievements bar.

SOLVED

Clipping paths are lost in image renditions

Avatar

Level 2

Hi All,

 

We have some PSD images managed in AEM DAM. These images have the clipping path added to them.

It's observed that renditions generated for these images don't retain the clipping paths after they are processed by DAM Update asset workflow.

Any suggests or idea how we can retain the clipping paths in imagerenditions?

 

 

Thanks,

Sayabanna

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@user00295 In that case, 

  1. You can create a custom workflow model in AEM that includes custom workflow steps to handle PSD files and retain their clipping paths during renditions. Custom workflow steps can be implemented using AEM's Workflow API.

  2. Consider using external tools like Adobe Photoshop or ImageMagick to process the PSD files before they are uploaded to AEM. Ensure that the clipping paths are preserved in the exported images before uploading them to AEM.

View solution in original post

3 Replies

Avatar

Community Advisor

@user00295  You might want to utilize Dynamic Media integration with AEM DAM, to leverage clipping paths functionality, as described in this demo: https://experienceleague.adobe.com/docs/experience-manager-learn/assets/dynamic-media/dynamic-media-... 

 

Avatar

Level 2

Hi Diksha,

 

Thanks for the response, I have referred to the link and it allows us to provide the clipping path details in image presets.

I am looking for identifying the clipping path in the uploaded assets and retain the same clipping path in the renditions generated. If we hardcode the clipping path details then it won't be working as per the requirement

 

 

Thanks,

Sayabanna 

Avatar

Correct answer by
Community Advisor

@user00295 In that case, 

  1. You can create a custom workflow model in AEM that includes custom workflow steps to handle PSD files and retain their clipping paths during renditions. Custom workflow steps can be implemented using AEM's Workflow API.

  2. Consider using external tools like Adobe Photoshop or ImageMagick to process the PSD files before they are uploaded to AEM. Ensure that the clipping paths are preserved in the exported images before uploading them to AEM.