Skip to content

How to use fitz to delete tables in PDF? Need help, Thanks. #114

Closed

Description

@xiaobie-lhm
No description provided.

Activity

  1. JorjMcKie commented on Sep 16, 2023

    @JorjMcKie
    Collaborator

    Determine the bbox that wraps the table. Then use a redactions annotation to remove the table's text:

    page.add_redact_annot(bbox)
    page.apply_redactions()

    Don't forget to save with an appropriate garbage collection to get rid of the "ghost" objects created by the process.

  2. locked and limited conversation to collaborators on Sep 23, 2023
  3. converted this issue into a discussion #115 on Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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