You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My environment is php5.3. I have encountered many problems when converting PDFS to images.
The first problem is that the text in the transferred pictures is not clear and cannot be seen at all
The second issue is that although the total number of pages of a pdf file can be obtained, the output is always the first image
The code is as follows:
$pdf = new \Spatie\PdfToImage\Pdf($pdfPath);
Activity