ljsthu / python-remove-watermark Goto Github PK
View Code? Open in Web Editor NEWA simple program to remove the watermark from a PDF file.
A simple program to remove the watermark from a PDF file.
The image order for the before and after of the pdf document makes it appear as though the file is receiving a watermark. I believe you should change the order of the images in the readme layout.
Also, you could make the application more straightforward by using tkinter's filedialog function to get the file path.
求助,报错: Is poppler installed and in PATH ?
在网上搜索了一番没有找到解决办法,已经按照readme安装了需要的pip包。
Traceback (most recent call last):
File "/Users/kasusa/Documents/GitHub/Python-Remove-Watermark/watermark.py", line 58, in <module>
images = convert_from_path('/Users/kasusa/Documents/GitHub/Python-Remove-Watermark/a.pdf')
File "/Users/kasusa/Library/Python/3.9/lib/python/site-packages/pdf2image/pdf2image.py", line 98, in convert_from_path
page_count = pdfinfo_from_path(pdf_path, userpw, poppler_path=poppler_path)["Pages"]
File "/Users/kasusa/Library/Python/3.9/lib/python/site-packages/pdf2image/pdf2image.py", line 484, in pdfinfo_from_path
raise PDFInfoNotInstalledError(
pdf2image.exceptions.PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?
Could you please add a copy-pastable example to the readme? Which commands should one execute?
像常用的jpeg/png等作为输入,移除后再储存同样的格式。
the error I am getting "SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape"
Is there anyway around this error ? I didnt find any solution online (apologize for the dumb question)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.