10 defined(
'JPATH_PLATFORM') or die;
36 public function __construct($handle)
39 if (!function_exists(
'imagefilter'))
43 throw new RuntimeException(
'The imagefilter function for PHP is not available.');
49 if (!is_resource($handle) || (get_resource_type($handle) !=
'gd'))
52 throw new InvalidArgumentException(
'The image handle is invalid for the image filter.');
55 $this->handle = $handle;
67 abstract public function execute(array $options = array());