Resize Image without distorting | Adobe Higher Education
Skip to main content
aanchal-sikka
Community Advisor
Community Advisor
March 27, 2025
Beantwortet

Resize Image without distorting

  • March 27, 2025
  • 1 Antwort
  • 414 Ansichten

Hello,

 

Is it possible to resize images to a certain aspect ratio, without cropping / distorting using Dynamic Media?

 

These are images with transparent background, so we can use additional padding of transparent background to avoid distortion. 

 

How can we possibly achieve the same?

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von anupampat

Hi @aanchal-sikka ,

Have tried using Dynamic Media Command references ? These are used in Image Presets too or you can dynamically add them via code too.

 

We have used them while downloading images.

 

https://experienceleague.adobe.com/en/docs/dynamic-media-developer-resources/image-serving-api/image-serving-api/http-protocol-reference/command-reference/c-command-reference

 

Regards,

Anupam Patra

1 Antwort

anupampat
Community Advisor
anupampatCommunity AdvisorAntwort
Community Advisor
March 27, 2025

Hi @aanchal-sikka ,

Have tried using Dynamic Media Command references ? These are used in Image Presets too or you can dynamically add them via code too.

 

We have used them while downloading images.

 

https://experienceleague.adobe.com/en/docs/dynamic-media-developer-resources/image-serving-api/image-serving-api/http-protocol-reference/command-reference/c-command-reference

 

Regards,

Anupam Patra