How to download an image from svcene7 programmatically | Community
Skip to main content
Adobe Champion
February 10, 2023
Solved

How to download an image from svcene7 programmatically

  • February 10, 2023
  • 1 reply
  • 1074 views

I had a requirement to create a zip file downloading a set of images from AEM and i used an existing rendition of an image for the same and that works and I am able to download a rendition of an image and create a zip file. I used Asset API for the same.

 

final Asset asset = DamUtil.resolveToAsset(assetResource);
InputStream in = asset.getRendition(DAM_THUMBNAIL).getStream(); 

 

Now there is a requirement to create a custom rendition for an image using imageprofile in AEM, that will create a rendition in scene7 server and not in AEM. i Have to include those scene7 rendition images in my zip.

Does anyone have any samples on how to call the scene7 API to download a image rendition as inputstream?

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 Nitin_laad

Hi @p_v_nair  Do you have the asset url from Scene7? If so, you can use the url to access the rendition and generate the desired output. 

About User-generated content in Adobe Dynamic Media Classic | Adobe Experience Manager

 

1 reply

Nitin_laad
Community Advisor
Nitin_laadCommunity AdvisorAccepted solution
Community Advisor
February 15, 2023

Hi @p_v_nair  Do you have the asset url from Scene7? If so, you can use the url to access the rendition and generate the desired output. 

About User-generated content in Adobe Dynamic Media Classic | Adobe Experience Manager