Conversion to WebP
Last updated
Was this helpful?
Last updated
Was this helpful?
, our image management solution, allows you to dynamically and transparently transform your images into the WebP format and serve them to browsers that explicitly declare compatibility with this format through the Accept: image/WebP
header.
To achieve this, we use our TCDN-i3-transform
header, specifying the desired operation, which in this case is auto_webp
.
For example, if you wanted to serve images on your domain mi-dominio.es
in WebP format, you can simply deploy a similar to the following from the :
We also support an optional quality adjustment for the transformation to WebP, which is set to 80% by default.
The exact syntax for this operation is: auto_webp:<porcentaje>%
.
The following example illustrates this more clearly: