Deal with PIL.Image.DecompressionBombError

When opening an image with PIL we specify the DPI and not the image size. If a PDF has a very large size this will result PIL.Image.DecompressionBombError

cc @anton-akhmerov