filestack/Filelink.php
public function modulate($brightness = 100, $hue = 0, $saturation = 100)
    {
        $options = [
            'b' => $brightness,
            'h' => $hue,
            's' => $saturation
        ];

        // call TransformationMixin function
        $this->setTransformUrl('modulate', $options);

        return $this;
    }
public function modulate($brightness = 100, $hue = 0, $saturation = 100)
    {
        $options = [
            'b' => $brightness,
            'h' => $hue,
            's' => $saturation
        ];

        // call TransformationMixin function
        $this->setTransformUrl('modulate', $options);

        return $this;
    }
public function modulate ( $ brightness = 100 , $ hue = 0 , $ saturation = 100 ) { $ options = [ 'b' => $ brightness , 'h' => $ hue , 's' => $ saturation ] ; // call TransformationMixin function $ this -> setTransformUrl ( 'modulate' , $ options ) ; return $ this ; }
Set this Filelink's transform_url to include the modulate task

@param int       $brightness     The amount to change the brightness of an
image. The value range is 0 to 10000.
@param int       $hue            The degree to set the hue to. The value
range is 0 - 359, where 0 is the equivalent
of red and 180 is the equivalent of cyan.
@param int       $saturation     The amount to change the saturation of image.
The value range is 0 to 10000.

@throws FilestackException   if API call fails, e.g 404 file not found

@return Filestack/Filelink
Set this Filelink s transform_url to include the modulate task