Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
with WandImage(filename=pdf_filename) as pdf_file:
# pdf_file has no pages here, but no exception
It was fixed after I installed ghostscript, but an exception would have saved some time.
The text was updated successfully, but these errors were encountered:
It no longer fails silently but when I was trying to do this there was no error saying I needed ghostcript. Thanks for this comment I've been searching how to make it work for a couple hours now.
<wand.image.Image: (empty)> is the result... error or warning would be better... "apt-get install ghostscript" fixed it
Added RuntimeError on Image.read if exception was not identified by IM.
#319 [ci skip]
Added generic exception if ImageMagick doesn't emit one. Hope it save someone in the future some time.
Successfully merging a pull request may close this issue.