내 커뮤니티 업적 표시줄을 확대합니다.

해결됨

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

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
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.

원본 게시물의 솔루션 보기

4 답변 개

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

정확한 답변 작성자:
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.

Avatar

Community Advisor

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