pymupdf Questions
1
I am trying to extract bold text elements from PDFs using PyMUPDF 1.18.14. I was hoping that this would work as I understand from the docs that flags=4 targets bold font.
page = doc[1]
text = page....
Lupita asked 14/7, 2021 at 17:42
2
Am trying to see if I can identify possible table headers in a table inside PDF using background and foreground color of the text. With PyMuPDF text extraction, I was able to get the foreground col...
International asked 26/9, 2019 at 6:30
3
Solved
pip3 install PyMuPDF
Collecting PyMuPDF Using cached PyMuPDF-1.18.17-cp37-cp37m-win_amd64.whl (5.4 MB)
Installing collected packages: PyMuPDF
Successfully installed PyMuPDF-1.18.17
import fitz
doc...
3
Solved
I have managed to extract images from several PDF pages with the below code, but the resolution is quite low. Is there a way to adjust that?
import fitz
pdffile = "C:\\Users\\me\\Desktop\\myf...
2
I need to remove the text "DRAFT" from a pdf document using Python. I can find the text box containing the text but can't find an example of how to edit the pdf text element using pymupdf...
1
Solved
I am working on my final year project, so I working on a website where a user can come and read PDF. I am adding some features such as converting currency to their country currency. I am usin...
4
I want to read in a PDF file using PyMuPDF. All I need is plain text (no need to extract info on color, fonts, tables etc.).
I have tried the following
import fitz
from fitz import TextPage
ifile...
2
Solved
I wanted to import fitz in my code. To do that, I tried installing PyMuPDF using
pip3 install PyMuPDF
However, this installation fails and returns this error:
fitz/fitz_wrap.c:2754:10: fatal error...
Patrizius asked 28/7, 2021 at 18:2
10
Solved
I have installed PymuPDF/fitz because am trying to extract images from PDF files. However, upon running the code below, I am seeing No module named 'frontend'.
doc = fitz.open(pdf_path)
for i in ...
Uninterrupted asked 5/6, 2019 at 20:37
2
Solved
Hi I am trying to change the highlight color in a pdf but not able to do so.
The default highlight color is yellow but i want to change it
Following is my code:
import fitz
doc = fitz.open(r"pa...
1
Solved
I'm currently looking at using the python package PyMuPDF for a workflow that converts PDF's to images (In my case, .TIFF files).
I am trying to mimic the behaviour of another program that I curren...
Talbott asked 2/10, 2021 at 8:13
5
I am trying to install pymupdf package on apline image but getting below error
fitz/fitz_wrap.c:2739:10: fatal error: ft2build.h: No such file or directory
2739 | #include <ft2build.h>
| ^~...
Shahjahanpur asked 21/12, 2020 at 6:34
1
I have searched stackoverflow extensively before posting this and have not been able to find anything on camelot page dimensions. There is this question, which suggests using table_region but that ...
Fennie asked 3/12, 2019 at 19:19
1
© 2022 - 2024 — McMap. All rights reserved.