public function contrast($level)
    {
        //Argument 1 must be a number
        Argument::i()->test(1, 'numeric');

        //apply filter
        imagefilter($this->resource, IMG_FILTER_CONTRAST, $level);

        return $this;
    }
public function contrast($level)
    {
        //Argument 1 must be a number
        Argument::i()->test(1, 'numeric');

        //apply filter
        imagefilter($this->resource, IMG_FILTER_CONTRAST, $level);

        return $this;
    }
public function contrast ( $ level ) { //Argument 1 must be a number Argument :: i ( ) -> test ( 1 , 'numeric' ) ; //apply filter imagefilter ( $ this -> resource , IMG_FILTER_CONTRAST , $ level ) ; return $ this ; }
Applies the contrast filter. Changes the contrast of the image.

@param *number $level The level of contrast

@return Eden\Image\Index
Applies the contrast filter . Changes the contrast of the image .