We have a need to render webp images on AEM 6.5 Assets. How is it possible ?
Firstly thumbnail renditions are not getting for such assets. Secondly a webp plugin could compress and generate .webp.jpg images (which are still JPEGs) and could not generate .webp images.
Problem with .webp.jpg is that firstly its quality compromised w.r.t webp images. Secondly for a browser like IE11 which doesn't have a fallback for webp (in the form of jpg rendering), images won't get rendered that way.
We are looking for *.webp images with thumbnails generated.
Any soluion here will help.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @Som2,
In general AEM 6.5 Assets is not supporting WEBP format, here is list off all supported formats:
However, this could be changed. Here are some options:
Option 1:
You can use some external tool (e.g. image magic) to convert webp to other format e.g. jpg or png, and then generate renditions. This can be done using Command Line workflow step. In other words via Command Line workflow step you can simply run from AEM external tool that is available on operation system level - assuming this tool can be operate from command line. Here is an example how to use it with image magic:
Option 2:
Create custom workflow step and or media handler. This will of course require some external library to be used. Here is an example of webp servlet - this is a bit different case then yours, but it should give you and idea about potential external libraries that you could use.
Option 3:
You can consider to use Dynamic Media - however this requires separate license.
In my option option 1 is the best compromise, taking into account it is quite easy to setup, and it is not require additional development - only configuration is needed.
Hi @Som2,
In general AEM 6.5 Assets is not supporting WEBP format, here is list off all supported formats:
However, this could be changed. Here are some options:
Option 1:
You can use some external tool (e.g. image magic) to convert webp to other format e.g. jpg or png, and then generate renditions. This can be done using Command Line workflow step. In other words via Command Line workflow step you can simply run from AEM external tool that is available on operation system level - assuming this tool can be operate from command line. Here is an example how to use it with image magic:
Option 2:
Create custom workflow step and or media handler. This will of course require some external library to be used. Here is an example of webp servlet - this is a bit different case then yours, but it should give you and idea about potential external libraries that you could use.
Option 3:
You can consider to use Dynamic Media - however this requires separate license.
In my option option 1 is the best compromise, taking into account it is quite easy to setup, and it is not require additional development - only configuration is needed.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies