I am trying to save the PDF file with gif or jpg extension using the spatie/pdf-to-image library, but I get the following error:
<