protected function getRemoteImageData($pathToImage)
    {
        $this->imagick->readImage($this->pdfFile);

        $this->imagick->setIteratorIndex($this->page - 1);

        if (is_int($this->layerMethod)) {
            $this->imagick = $this->imagick->mergeImageLayers($this->layerMethod);
        }

        $this->imagick->setFormat($this->determineOutputFormat($pathToImage));

        return $this->imagick;
    }
protected function getRemoteImageData($pathToImage)
    {
        $this->imagick->readImage($this->pdfFile);

        $this->imagick->setIteratorIndex($this->page - 1);

        if (is_int($this->layerMethod)) {
            $this->imagick = $this->imagick->mergeImageLayers($this->layerMethod);
        }

        $this->imagick->setFormat($this->determineOutputFormat($pathToImage));

        return $this->imagick;
    }
protected function getRemoteImageData ( $ pathToImage ) { $ this -> imagick -> readImage ( $ this -> pdfFile ) ; $ this -> imagick -> setIteratorIndex ( $ this -> page - 1 ) ; if ( is_int ( $ this -> layerMethod ) ) { $ this -> imagick = $ this -> imagick -> mergeImageLayers ( $ this -> layerMethod ) ; } $ this -> imagick -> setFormat ( $ this -> determineOutputFormat ( $ pathToImage ) ) ; return $ this -> imagick ; }
Return remote raw image data.

@param string $pathToImage

@return \Imagick
Return remote raw image data .