You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PIL.Image.DecompressionBombError: Image size (196310432 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.
I fixed it patching pypdfocr_pdf.py by adding the following line:
Image.MAX_IMAGE_PIXELS = None
Everything's working now. However, I don't know if this is the right way of solving this problem. If so, the line could be included in the file upstream.
The text was updated successfully, but these errors were encountered:
I've been having lots of these errors:
I fixed it patching
pypdfocr_pdf.py
by adding the following line:Everything's working now. However, I don't know if this is the right way of solving this problem. If so, the line could be included in the file upstream.
The text was updated successfully, but these errors were encountered: