images.Saturation

images.Saturation


Returns an image filter that changes the saturation of an image.

The percentage must be in the range [-100, 500] where 0 has no effect.

Usage #

Create the filter:

{{ $filter := images.Saturation 65 }}

Example #