filter()
->filter(SergiX44\ImageZen\Filter $filter): void
Apply a filter to the image.
See Filters for more information.
Parameters
SergiX44\ImageZen\Filter $filter
: An instance of a class implementing theSergiX44\ImageZen\Filter
interface.
Returns
void
, no return value.
Example
use SergiX44\ImageZen\Image;
$image = Image::make('path/to/image.jpg')
->filter(new MyCustomFilter());