PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
GNU Affero General Public License v3.0
4.49k
stars
443
forks
source link
Pdf file transform to image have a black block #3624
Open
Agoin-max opened 5 days ago
Description of the bug
Pdf file transform to image have a black block 89b59dbfae5e4d1d92596418e9585a10.pdf
How to reproduce the bug
def pdf2png_with_pymupdf(pdfdata: Union[bytes, str], matrix: int = 2): """转换图片.""" images: List[Image.Image] = [] path = tempfile.mkdtemp() path = Path(path)
PyMuPDF version
1.24.6
Operating system
Windows
Python version
3.9