Skip to content

BAD RECT ISSUE #202

Closed
Closed
@tsameema

Description

@tsameema

import pymupdf4llm
md_text_pages = pymupdf4llm.to_markdown("/content/1.pdf", pages=[11], force_text=True)
print(md_text_pages)

The page has an image inside the table. So It generates the following issue:

4 frames
/usr/local/lib/python3.10/dist-packages/pymupdf/init.py in _validate(self)
7207 or self.rect.is_empty
7208 ):
-> 7209 raise ValueError("bad rect")
7210
7211 if not self.field_name:

ValueError: bad rect

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions