I am trying to convert an image to a masked image in AEM. For example, I have an image, and I want to apply a black-and-white mask, meaning the original image should be completely black.
I know this can be done using the ImageMagick tool with the convert feature. Is there a way to accomplish this in Dynamic Media or using any AEM Assets API?
Views
Replies
Total Likes
Hi @Mario248
Maybe try firefly APIs
https://developer.adobe.com/firefly-services/docs/firefly-api/guides/how-tos/using-fill-image/
Customer is on-prem. Is firefly free ? any license required ?
Views
Replies
Total Likes
This is exactly want I am looking for
Is adobe app(adobe io) same as adobe Firefly ? or Is it two different adobe products ?
Views
Replies
Total Likes
Adobe Firefly is a licensed product. you can contact sales
https://www.adobe.com/creativecloud/business/enterprise/firefly-services.html
Views
Replies
Total Likes
Thanks for your response. customer is looking for open source. I will explore other open source tools
Views
Replies
Total Likes
@Mario248 You can create an image mask using any of the available tools like photoshop, ImageMagick etc. You can use dynamic media to apply these to images at scale.
Views
Replies
Total Likes
We want to do this AEM workflow. can you tell how do you use photoshop here? is there java api or library available ?
Views
Replies
Total Likes
@Mario248 You can setup a custom worker on Adobe I/O that takes care of this. You can then invoke this from within an AEM workflow.
Views
Replies
Total Likes
Hi @Mario248 ,
Although your requirement is to completely back out the image but you can put watermark on AEM assets using com.day.cq.dam.commons.watermark Library. Putting it here in case its relevant for you.
can you tell me what watermark api should used ? any example you can provide ?
Views
Replies
Total Likes
@Mario248 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies