Thanks to visit codestin.com
Credit goes to github.com

Skip to content
heynemann edited this page Nov 26, 2014 · 1 revision

Saturation

Usage

saturation(percentage)

Description

Scales the color saturation of an image based on the given percentage.

Arguments

percentage - Expects a decimal percentage, probably between 0.0 and 2.0. A value of 0.0 yields a grayscale image, 1.0 the original image, and 2.0 an image twice as saturated.

Example

Without filter before_saturation

With filter after_saturation

http://thumbor-server/filters:saturation(0.20)/some/image.jpg

Clone this wiki locally