mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
4048cd3fe9
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> |
||
---|---|---|
.. | ||
python3-PyMuPDF.info | ||
python3-PyMuPDF.SlackBuild | ||
README | ||
slack-desc |
PyMuPDF adds Python bindings and abstractions to MuPDF, a lightweight PDF, XPS, and eBook viewer, renderer, and toolkit. Both PyMuPDF and MuPDF are maintained and developed by Artifex Software, Inc. MuPDF can access files in PDF, XPS, OpenXPS, CBZ, EPUB and FB2 (eBooks) formats, and it is known for its top performance and exceptional rendering quality. With PyMuPDF you can access files with extensions like .pdf, .xps, .oxps, .cbz, .fb2 or .epub. In addition, about 10 popular image formats can also be handled like documents: .png, .jpg, .bmp, .tiff, etc. krop (available on SBo) can use PyMuPDF for both rendering and cropping. Mupdf is not a dependency because all of the necessary code is built into PyMuPDF. Optional runtime dependencies are python3-fonttools, tesseract, and python3-pymupdf_fonts. To enable Tesseract OCR functions in PyMuPDF, the software must be installed and the system environment variable TESSDATA_PREFIX must be defined as follows: export TESSDATA_PREFIX=/usr/share/tessdata