Goshin/Remove-PDF-Watermark

can't read pdf

Closed this issue · 2 comments

I use python 3.6.12 on mac os 10.15.6
I run the script get this error
raise ValueError("not enough image data")
ValueError: not enough image data
testDecember.pdf

if I use the before.png,
I got this error,

PyPDF2.utils.PdfReadError: EOF marker not found

The script can only process scanned PDF files.