Convert PDF to Images


I am trying to convert a pdf file to images using imagick and using Laravel.

$pdf_file = Storage::disk('uploads')->url($name);
$image = new imagick();
$pages = $image->getNumberImages();

but when I try to execute it I get the following error:

Imagick::readImage not implemented

Does anyone know what is happening?

asked by DoubleM 12.12.2018 в 20:27

0 answers