ColorizeFilter

Chameleon\Filters\ColorizeFilter

Class BuiltinFilter enables wrapping of PHP's builtin image filter functions

  • Class name: ColorizeFilter
  • Namespace: Chameleon\Filters
  • Fully qualified class name: Chameleon\Filters\ColorizeFilter
  • Extends: Chameleon\Filters\BuiltinFilter

Methods

__construct()

void BuiltinFilter::__construct(\Chameleon\Options $options)

getArg1()

integer|null BuiltinFilter::getArg1()

Get $arg1 for imagefilter()


getArg2()

integer|null BuiltinFilter::getArg2()

Get $arg2 for imagefilter()


getArg3()

integer|null BuiltinFilter::getArg3()

Get $arg3 for imagefilter()


getArg4()

integer|null BuiltinFilter::getArg4()

Get $arg4 for imagefilter()


getFilterID()

integer BuiltinFilter::getFilterID()

Get filter ID (IMGFILTER*)


apply()

boolean IFilter::apply(Image $image)

Apply the filter to an image.


getOptions()

Options BuiltinFilter::getOptions()

Get Options