aemwebp

Can AEM 6.2 be enhanced to support webp?


We need to support webp images in AEM 6.2. As this is not supported by default, is there a possibility to enhance AEM by adding and rendering a new mime type?


Solution

  • You could implement a workflow process step to do this along with a Java WebP library such as webp-imageio [0], then add this step to your default asset workflow (usually update_asset) so they are created along with the standard web/thumb renditions.

    Alternatively you can convert them offline ad-hoc and upload as a custom rendition if you only need them for a few assets.

    [0] https://bitbucket.org/luciad/webp-imageio