apply()
apply(\Grafika\ImageInterface $image, \Grafika\FilterInterface $filter) : \Grafika\EditorInterface
Apply a filter to the image. See Filters section for a list of available filters.
Parameters
\Grafika\ImageInterface | $image | Instance of Image. |
\Grafika\FilterInterface | $filter | Instance implementing the FilterInterface. |
Returns
\Grafika\EditorInterface —An instance of Editor.