imagefilter()
function imagefilter(mixed $image, int $filter, int $arg1 = 0, int $arg2 = 0, int $arg3 = 0, int $arg4 = 0): bool
Applies one of GD’s built-in filters to an image.
Parameters:
$image(mixed)$filter(int)$arg1(int), default0, optional$arg2(int), default0, optional$arg3(int), default0, optional$arg4(int), default0, optional
Returns: bool
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Not available yet |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how imagefilter is implemented in the compiler, see the internals page.