src/Manipulators/Contrast.php
public function run(Image $image)
    {
        $contrast = $this->getContrast();

        if ($contrast !== null) {
            $image->contrast($contrast);
        }

        return $image;
    }
public function run(Image $image)
    {
        $contrast = $this->getContrast();

        if ($contrast !== null) {
            $image->contrast($contrast);
        }

        return $image;
    }
public function run ( Image $ image ) { $ contrast = $ this -> getContrast ( ) ; if ( $ contrast !== null ) { $ image -> contrast ( $ contrast ) ; } return $ image ; }
Perform contrast image manipulation.
@param  Image $image The source image.
@return Image The manipulated image.
Perform contrast image manipulation .