Automatically remove white borders in pdf/ppt.
| .gitignore | ||
| cropper.py | ||
| LICENSE | ||
| main.py | ||
| README.md | ||
| ui.py | ||
| UserMannual.md | ||
PDFCropper
Automatically remove white borders in pdf/ppt. A user mannual written in chinese can be found here: UserMannual
Dependencies
- pymupdf
- python-pptx
- comtypes
- numpy
- pillow
To install these packages, simply run:
pip install pymupdf python-pptx comtypes numpy pillow
if you want to package it into a exe file, you may also need pyinstaller.
Frequently askes questions
Q: Why these code looks like shit? A: They are written in a hurry and i currently have no time or interest in re-writing them...(It would be thankful if you want to open a PR.)