Avatar of Ludwig Diehl
Ludwig Diehl
Flag for Peru

asked on 

Imagick Fatal error

I am trying to open a corrupted pdf file (on purpose) so I can check if it is ok or not, however I get this error:
Fatal error: Uncaught ImagickException: unable to open image `asasdasd': No such file or directory @ error/blob.c/OpenBlob/2853 in ....... Stack trace: #0 ...: Imagick->readimage('asasdasd') #1 ...: Validator\Validators\PdfValidator->isValid() #2 {main} thrown in... on line 14

Open in new window


instead of and exception.
I am using php 7.2 and imagick 3.4.3

Does anyone have an idea to solve this?
PDFPHP* imagick

Avatar of undefined
Last Comment
Ludwig Diehl

8/22/2022 - Mon