PyMuPDF
PyMuPDF copied to clipboard
PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
My requirement is to remove text from the PDF (i.e. keep images, drawings and rest things as is). Here is the code snippet: ``` def remove_text_from_pdf(pdf_filepath: str): output_pdf_filepath = pdf_filepath[:-4]...
## Describe the bug (mandatory) Python crashes when calling "apply_redactions" method, when trying to redact a specific document. ## To Reproduce (mandatory) - Open document. - Loop pages. - Find...
Recommend using return code bit testing instead of integer values.
## Describe the bug When using `Document.delete_pages` with keyword-only arguments (as documented in *Format 1*), an error is reported: ```python3 Traceback (most recent call last): File "/home/me/path/to/file.py", line 7, in...
## Describe the bug (mandatory) Code that used to work in 1.19.2 seems not to work after this version, erroring in different ways in the newer versions. The code fails...
## What we were trying to do? We are trying to fill the interactive form values using the pymupdf widget field and generating a new pdf. ## Description of the...
Planning to use the library. Licensed under GNU Affero General Public License v3.0 and GNU General Public License v3.0. We are not doing any modifications in the source code of...
_**Please provide all mandatory information!**_ ## Describe the bug (mandatory) A clear and concise description of what the bug is. Please see the following screenshot of error in running the...
## Description In one pdf document, I noticed incorrect behavior (with respect to one specific path) after loading and then writing the pdf. (I know that, in general, PyMuPDF does...
method page.getTex() does not exist in the example. use of the `:meth:` sphinx syntax produces a paranthesis at the end, rendering `:meth:Page.get_text("words")` like **`Page.get_text("words")()`**. Consider swapping `meth` with `const` to...