Pop\Pdf\Parser\Image::convertImage PHP Метод

convertImage() защищенный Метод

Method to convert the image.
protected convertImage ( ) : void
Результат void
    protected function convertImage()
    {
        // Define the temp converted image.
        $this->convertedImage = \Pop\File\Dir::getUploadTemp() . DIRECTORY_SEPARATOR . $this->img->getFilename() . '_' . time() . '.png';
        // Convert the GIF to PNG, save and clear the output buffer.
        $this->img->convert('png')->save($this->convertedImage);
        // Re-instantiate the newly converted image object and re-read the image data.
        $this->img = new Gd($this->convertedImage);
        $this->imageData = $this->img->read();
    }