troubleshooting Question

Imagick Fatal error

Avatar of Ludwig Diehl
Ludwig DiehlFlag for Peru asked on
PHPPDF* imagick
9 Comments1 Solution298 ViewsLast Modified:
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

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

Does anyone have an idea to solve this?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros