Saturate
Color saturation correction
To adjust the color saturation, you can use the saturate=X filter and set the desired adjustment value (X= -100..100
). Negative values will decrease color saturation while positive ones will increase it.
saturate=X
Examples
Preview | Syntax |
---|---|
Original image: /sample.li/frog.png?w=400 | |
Increased saturation: /sample.li/frog.png?w=400&saturate=35 |
Desaturate
Using saturate=-100 will remove all color information and convert the image to grayscale.
Please keep in mind that desaturating an image just discards all color information. If you prefer to create a grayscale image while taking into account the human visual system's color perception, you should use the gray parameter instead.
Examples
Preview | Syntax |
---|---|
Desaturation: /sample.li/frog.png?w=400&saturate=-100 | |
Grayscale: /sample.li/frog.png?w=400&gray=1 |
Last updated