Closed bedus-creation closed 4 years ago
If I read a file from storage path, it always shows the number of pages is 1 for any files.
$pdf = new \Spatie\PdfToImage\Pdf(storage_path('apdf.pdf')); // It has 14 pages. $pdf->getNumberOfPages(); //1
Imagemagic wasnot installed into my system. I think It should show exception than number 1. Thanks.
If I read a file from storage path, it always shows the number of pages is 1 for any files.