Grafika\EditorInterface::apply PHP Method

apply() public method

Apply a filter to the image. See Filters section for a list of available filters.
public apply ( grafika\ImageInterface &$image, grafika\FilterInterface $filter ) : grafika\EditorInterface
$image grafika\ImageInterface Instance of Image.
$filter grafika\FilterInterface Instance implementing the FilterInterface.
return grafika\EditorInterface An instance of Editor.
    public function apply(&$image, $filter);