(PHP 5, PHP 7)
Applies a filter to an image
bool imagefilter ( resource $image, int $filtertype [, int $arg1 [, int $arg2 [, int $arg3 [, int $arg4 ]]]] )
imagefilter() applies the given filter filtertype on the image.
Parameters:
image
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
filtertype