Skip to content

page.add_redact_annot(rect, fill=False) still has white cover. how can i delete it? #4653

Closed

Description

@Bkhxq

doc = pymupdf.open("D:\1.pdf")
page = doc[0]
page.add_redact_annot(quad=pymupdf.Rect([560, 225, 740, 570]), fill=False)
page.apply_redactions(images=2, graphics=1)
doc.save("d:\x.pdf")

i want to remove all elements in the red circle. it does well. but a cover ([560, 225, 740, 570]) leaves here. How can i delete this cover? tks.

Image Image

1.pdf
x.pdf

Activity

  1. JorjMcKie commented on Aug 17, 2025

    @JorjMcKie
    Collaborator

    This is not an issue, but a Discussions item.

  2. locked and limited conversation to collaborators on Aug 17, 2025
  3. converted this issue into a discussion #4654 on Aug 17, 2025
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