About 50 results
Open links in new tab
  1. python - How to catch a C error MuPDF returns when running the …

    Jun 4, 2025 · You also need to reset the warning list between runs with pymupdf.TOOLS.reset_mupdf_warnings() or they will accumulate forever. Note: pymupdf.TOOLS is …

  2. python - Handling malformed PDF with MuPDF - Stack Overflow

    Jul 5, 2024 · I am using MuPDF to read some PDF documents, and recently I have started getting some malformed PDFs coming from Google GSuite where the hex header in the beginning has some …

  3. How to resolve cx_Freeze error about pdf2docx mupdf import?

    Jul 9, 2024 · I've never posted here before, but this time I'm genuinely stuck. I'm using cx_Freeze on a python script that uses pdf2docx. Running the python script normally works fine, but running …

  4. MuPDF mutools question: can't get extract to work

    Feb 18, 2024 · Where does MuPDF's mutools put the image files it extracts? The official documentation says "The image and font files will be saved out to the same folder which the file originates …

  5. How can I fix the 'Error in PyMuPDF' when installing paddleocr with pip?

    Jun 1, 2023 · Set the environment variable PYMUPDF_SETUP_MUPDF_BUILD to the path of the extracted mupdf-1.20.3 folder and try to run pip install PyMuPDF==1.20.2. Note that you will also …

  6. pdf - Python: mupdf: invalid key in dict - Stack Overflow

    Oct 11, 2021 · I am writing below code to remove annotations from a pdf file and then save it to new pdf. However, I am getting RuntimeError: invalid key in dict. Below is the Code: import fitz import re doc = …

  7. How to configure MuPdf library for C for using minimum 3rd party ...

    May 25, 2025 · I'd like to build MuPdf library for C using Visual Studio 2019. I have downloaded a ZIP-file from github with empty third-party directories, ran Visual Studio 2019 to build it.

  8. android - Integrate MuPDF Reader in an app - Stack Overflow

    Dec 14, 2011 · Step 5 : cd mupdf than command: make (will take about 40 sec. to run all scripts) Step 6 : cd android (within mupdf dir.) Step 7 : open finder go to folder Android-pdf that you created than …

  9. python - Maintained alternatives to PyPDF2 - Stack Overflow

    Jul 31, 2020 · Three potential alternatives which are maintained (just like pypdf): pymupdf: uses mupdf (only free for open source due to mypdf license) pikepdf: Uses qpdf pdfminer.six: A pure Python …

  10. PyMUPDF - How to convert PDF to image, using the original document ...

    Oct 2, 2021 · 12 PyMuPDF is wrapped around MuPDF It has many powerful pdf manipulation options which include the ability to set page scale and resolution of page image outputs. However MuPDF …