Clipping paths are lost in image renditions | Community
Skip to main content
Level 2
December 6, 2023
Solved

Clipping paths are lost in image renditions

  • December 6, 2023
  • 2 replies
  • 920 views

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

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 diksha_mishra

@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.

2 replies

diksha_mishra
Community Advisor
Community Advisor
December 12, 2023

@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-overview-feature-video-use.html?lang=en 

 

user00295Author
Level 2
December 15, 2023

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 

diksha_mishra
Community Advisor
diksha_mishraCommunity AdvisorAccepted solution
Community Advisor
January 3, 2024

@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.

aanchal-sikka
Community Advisor
Community Advisor
January 31, 2025

Clipping paths aren’t extracted out-of-the-box in AEM DAM since they’re stored in Photoshop metadata, not XMP headers. But with a custom workflow, you can extract and store them for seamless use in Dynamic Media.  For details, refer to: 

Aanchal Sikka