10 defined(
'JPATH_PLATFORM') or die;
31 public function execute(array $options = array())
34 if (!isset($options[IMG_FILTER_CONTRAST]) || !is_int($options[IMG_FILTER_CONTRAST]))
36 throw new InvalidArgumentException(
'No valid contrast value was given. Expected integer.');
40 imagefilter($this->handle, IMG_FILTER_CONTRAST, $options[IMG_FILTER_CONTRAST]);