Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

JPEG and PNG to WebP and AVIF

Avatar

Level 5

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.

1 Accepted Solution

Avatar

Community Advisor

I have not tried it but you can trying updating the rendition step

if doesn't work then you need to add a process step which is java code.

4 Replies

Avatar

Level 5

@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 ?

Avatar

Level 5

Hi @arunpatidar Thanks for replying 

 

Can it be achieved by a process on update assets workflow only ? No need any custom java code ?

Avatar

Community Advisor

I have not tried it but you can trying updating the rendition step

if doesn't work then you need to add a process step which is java code.

Avatar

Employee Advisor

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).

Avatar

Level 5

Hi @Jörg_Hoh Thanks for replying.

 

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

Avatar

Employee Advisor

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