Mike42\Escpos\ImagickEscposImage::loadImageData PHP Méthode

loadImageData() protected méthode

Load an image from disk, into memory, using Imagick.
protected loadImageData ( string $filename = null )
$filename string The filename to load from
    protected function loadImageData($filename = null)
    {
        if ($filename === null) {
            /* Set to blank image */
            return parent::loadImageData($filename);
        }
        $im = $im = $this->getImageFromFile($filename);
        $this->readImageFromImagick($im);
    }