Webp Transform Plugin

This plugin converts jpeg and png images and transforms them into webp format for browsers that support webp. Also, the plugin converts webp images and transforms them to jpeg for browsers that don’t support webp All response with content-type ‘image/jpeg’ or ‘image/png’ will go through the transform. Content-type is changed to ‘image/webp’ or ‘image/jpeg’ on successful transformation.

Installation

Add the following line to plugin.config:

webp_transform.so [convert_to_jpeg,convert_to_webp]

Note

This plugin only supports jpeg and png and requires Magick++ from ImageMagick. Other image formats can easily be supported.