Conversion to grayscale

i3, our image management solution, allows you to dynamically and transparently convert your images to grayscale.

To do this, we use our TCDN-i3-transform header, specifying the desired operation, which in this case is grayscale.

For example, if you wanted to serve grayscale images on your domain mi-dominio.es, you can simply deploy a VCL configuration similar to the following from the dashboard:

# i3 - grayscale
sub vcl_recv {
    if (req.http.host == "www.mi-dominio.es") {
        set req.http.TCDN-i3-transform = "grayscale";
    }
}

Last updated