Skip to content

Get image inside table's cell #3586

@vinniec2

Description

@vinniec2

Hi, I am just now trying pymupdf, I want to extract the contents of some tables and it seems to work but in a column sometimes images appear and in this case the tab.extract() method of the Table class returns empty strings for these cells.
The only thing I could think that I can do is to check the list of images and see if there is one that have it's imagebbox is inside the cellbbox.
Is there a simpler solution?
Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions