Let user choose pdf backend: pymupdf or pypdf2
Since 4ff31EE6 (and version v1.1.0), library PyPDF2 has been replaced by pymupdf, which is faster #9 (closed) and crop pages before merging them #13 (closed). But pypdf2 has two advantages over pymupdf
- it is packaged for debian;
- it is pure python, which make it portable, and easy to install using pip.
It would be great to support both libraries.
-
Support both libraries -
Install pypdf2 by default, install pymupdf using pip install pdfautonup[pymupdf]
(see extras). -
Test both libraries -
Add a command line option to enforce backend -
Document (in README and rtfd.io): -
Choice (and installation) -
Differences (speed, crop, pure python, debian, installation…)
-
-
stdeb -
Make it work (again) -
Remove warning in README
-
Edited by Louis