Instafilter\Filter::hsl PHP 메소드

hsl() 공개 메소드

Imagemagick calls this 'modulate '
public hsl ( integer $hue, integer $saturation, integer $lightness ) : Filter
$hue integer -100 <= hue <= 100. 0 is no change.
$saturation integer -100 <= hue <= 100. 0 is no change.
$lightness integer -100 <= hue <= 100. 0 is no change.
리턴 Filter
    public function hsl($hue = 0, $saturation = 0, $lightness = 0)
    {
        $hue += 100;
        $saturation += 100;
        $lightness += 100;
        $this->imagick()->modulateImage($lightness, $saturation, $hue);
        return $this;
    }