I've been having lots of these errors:
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.