New issue
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? Sign in to your account
KeyError: '/BitsPerComponent' #100
Comments
fixed in v4.2.5 I still got some unusual Ghostscript (9.19) errors of this form
but despite the errors the output file seems to be okay. I don't know what to do with those errors either, since the file it is looking for exists. Please let me know if you run into anything similar. |
Thanks a lot! Once version 4.2.5 is available via pip3 I'll install it and report if I encounter similar issues. |
Just tried the new version 4.2.5. I get the same errors as you, but, as you mentioned, the output file seems to be fine, so I guess this issue can be considered solved (?). |
Thanks again for this very helpful tool! |
The following file gives me the error "KeyError: '/BitsPerComponent'", when trying to ocr it:
https://app.box.com/s/o1cjmt6y6mn2aqiusmi8g2kjbgw8z5jo
My current workaround is to print the file as a PDF. Then it is possible to ocr it with ocrmypdf.
The text was updated successfully, but these errors were encountered: