Grafika\Imagick\Editor::open PHP Method

open() public method

Open an image file and assign Image to first parameter.
public open ( Image &$image, string $imageFile ) : Editor
$image Image
$imageFile string
return Editor
    public function open(&$image, $imageFile)
    {
        $image = Image::createFromFile($imageFile);
        return $this;
    }