Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/imagescript/ImageScript.js>Image#saturation

zero-dependency JavaScript image manipulation
Extremely Popular
Latest
method Image.prototype.saturation
import { Image } from "https://deno.land/x/imagescript@1.3.0/ImageScript.js";

Sets the saturation of the image

Parameters

value

The saturation to apply (0..1)

optional
absolute = [UNSUPPORTED]

Whether to scale the current saturation (false) or just set the new saturation (true)