Grafika\EditorInterface::open PHP Method

open() public method

Open an image file and assign Image to first parameter. Grafika officially supports JPEG, PNG, GIF, and animated GIF. In theory, Grafika can open and edit other image formats as long as they are supported by GD and Imagick but it is currently untested.
public open ( grafika\ImageInterface &$image, string $imageFile ) : grafika\EditorInterface
$image grafika\ImageInterface Instance of Image.
$imageFile string File system path to image file.
return grafika\EditorInterface An instance of Editor.
    public function open(&$image, $imageFile);