PDFRepair Tool using PyPDF.
pip install PDF-Repairgit clone https://github.com/obtuse-triangle/PDFRepair-PyPDF.git
cd PDFRepair-PyPDF
python3 setup.py install| Version | Work? |
|---|---|
| Python 3.11.7 | ✅ |
| Python 3.10.14 | ✅ |
usage: pdf-repair [-h] [--compress] FILEPATH
positional arguments:
FILEPATH The PDF file or directory to repair.
options:
-h, --help show this help message and exit
--compress, -c Compress the PDF.