PDFCropper/README.md

24 lines
604 B
Markdown

# PDFCropper
Automatically remove white borders in pdf/ppt.
A user mannual written in chinese can be found here: [UserMannual](Usermannual.md)
## Dependencies
- pymupdf
- python-pptx
- comtypes
- numpy
- pillow
To install these packages, simply run:
```shell
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.)