How to download original image rendition via dynamic media? | Community
Skip to main content
jezwn
Level 5
October 23, 2024

How to download original image rendition via dynamic media?

  • October 23, 2024
  • 3 replies
  • 1484 views

I have few assets in DM, and I want to download the original file using the scene7 url. However, when trying to download the asset with the scene7 URL, it is drastically reducing the asset size. I have an image of 4MB in DM, and downloading the same via the scene7 url gets me 97KB in file size. I'm not sending in any params with the URL.

How do I download the 4MB image as it is using the scene7 URL?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

jezwn
jezwnAuthor
Level 5
October 23, 2024

Hi @mukeshyadav_ 


I was playing around with scl and qlt parameters.

My original asset size is 3926 Kb. And below is what I've observed so far,

Setting scl=1, gets me an asset of size 4.6 MB
Setting scl=1.0, gets me 952Kb
Setting scl=1.0 and qlt=100, gives me 4.2 MB

Setting scl=1 and qlt=100, gives me 4.2 MB

Two questions:
1. My understanding was that scl=1 and scl=1.0 should give the same output. But why it might be different here?
2. Is there no way I could get the asset in its original size? Here in the above tests, I'm able to get the asset with a larger size compared to the original. Ideally I want the exact size.


Thanks

sherinregi-1
Community Advisor
Community Advisor
October 23, 2024

Hi @jezwn 

If you are looking for the original image with the exact size and quality any reason why you are not trying to download the same directly from AEM DAM because when we are retrieving from scene7 server it applies the default compressions and optimizations to all the images to deliver better performance so in this case if we disable some properties that will also impact other images delivery as well 

 

You can try the below option also and see if that gives you back the original size 

 

daniel-strmecki
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
October 23, 2024

Hi @jezwn,

can you share an example URL you are using to retrieve the asset from DM?

Do you have Smart Imaging feature enabled?

kautuk_sahni
Community Manager
Community Manager
November 5, 2024

@jezwn 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!

Kautuk Sahni