Goshin / Remove-PDF-Watermark

Remove embedded watermarks and color stains for scanned PDF. 去除扫描版 PDF 中的水印
MIT License
159 stars 53 forks source link

can't read pdf #6

Closed fanshao closed 4 years ago

fanshao commented 4 years ago

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

fanshao commented 4 years ago

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

PyPDF2.utils.PdfReadError: EOF marker not found

Goshin commented 4 years ago

The script can only process scanned PDF files.