Saturation

Usage: saturation(amount)

Description

This filter increases or decreases the image saturation.

Arguments

  • amount - \(-100\) to \(100\) - The amount (in %) to change the image saturation. Positive numbers increase saturation and negative numbers decrease saturation.

Example

Picture before the saturation filter

http://localhost:8888/unsafe/filters:saturation(40)/https%3A%2F%2Fgithub.com%2Fthumbor%2Fthumbor%2Fraw%2Fmaster%2Fexample.jpg

Picture after positive saturation

http://localhost:8888/unsafe/filters:saturation(-40)/https%3A%2F%2Fgithub.com%2Fthumbor%2Fthumbor%2Fraw%2Fmaster%2Fexample.jpg

Picture after negative saturation