Hi all,
Working on aio app builder(asset compute worker) to integrate the Photoshop action api. I have the Photoshop action file which has to do the below actions
Apply a Photoshop Action (supplied) that will:
Convert Colour Profile – sRGB (layers)
Deep Etch (Flattened Image) Single Layer Mask
Clipping Path (post Deep Etch)
and want to save the output as
Layered PSD (non destructive to enable mask editing)
JPG/PNG retaining clipping path
I have configured the processing profile to call the appbuilder worker code with the photoshop action file. I am getting the output rendition in the form of psd and png.. but i can able to see that psd rendition is not having the mask applied and png rendition is not having the transparent background. Getting background removed for both the psd and png rendition. When i check the same photoshop action file in the adobe photoshop, its working fine. my doubt is do we need to separate logic in the worker code. below is my piece of code. And i noticed the property of the asset in aem, it is showing the type as image/jpeg..
Views
Replies
Total Likes
@BhavaniBharani Please try adding the following properties to your code:
retainMaskedArea: true
: This might help in ensuring that the mask remains intact in the PSD output.clippingPath: true
: Added to the PNG rendition to ensure the clipping path is preserved.I haven't tried this personally, but it could be worth the shot. Thanks!
Hi diksha_mishra,
Tried the mentioned option, but not working as expected. I think i need to change the structure of the code were i need to call the photoshop api to save the output with mask and transparent background.
https://developer.adobe.com/firefly-services/docs/photoshop/api/photoshop_actions/
but my doubt here is, do i need to directly call the photoshop api without calling the photoshop action function(to process the action file for the assets) or to make api call after the asset is processed against the photoshop action file.
Would be helpful if anyone knows how to use the above photoshop Api.
Thanks in advance!
Regards,
Bhavani Bharanidharan
Views
Replies
Total Likes
@BhavaniBharani 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
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies