JPEG and PNG to WebP and AVIF | Community
Skip to main content
JakeCham
Level 6
September 21, 2022

JPEG and PNG to WebP and AVIF

  • September 21, 2022
  • 2 replies
  • 3600 views

Hi team,

 

I have a requirement to reduce the size of DAM images. So I'm trying to achieve it by converting JPEG and PNG to WebP and AVIF. It is really appreciating if you guys can guide me to achieve this ?

 

Thanks in advance.

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

2 replies

arunpatidar
Community Advisor
Community Advisor
September 21, 2022

Hi,

AEM core components support webp https://github.com/adobe/aem-core-wcm-components/issues/2028 

Dynamic Media also supports webP

Arun Patidar
JakeCham
JakeChamAuthor
Level 6
September 21, 2022

@arunpatidar You meant that  /apps/core/wcm/components/image/v1/image ?

 

I'm trying an implementation something like when user is uploading an image into DAM It will convert into Webp and save it inside DAM. This can be related to given link ?

arunpatidar
Community Advisor
Community Advisor
September 21, 2022

I think to generate webp renditions you have to update the update Asset workflow

https://stackoverflow.com/questions/32091157/is-there-way-to-generate-web-enabled-rendition-for-png-in-aem 

 

Arun Patidar
joerghoh
Adobe Employee
Adobe Employee
September 24, 2022

For reference: If you use the latest Core Components and Dynamic Media, a WebP image will be delivered by DM if the browser can handle that. And to make that work you don't need to do anything (but using DM and Core Components).

JakeCham
JakeChamAuthor
Level 6
September 27, 2022

Hi @joerghoh Thanks for replying.

 

Do we need to get the Dynamic Media license by paying ?

joerghoh
Adobe Employee
Adobe Employee
September 27, 2022

IIRC DynamicMedia requires a dedicated license. But I am not familiar with licensing aspects, sorry.