Skip to content
Discussion options

You must be logged in to vote

The issue is not how you are adding the redactions annotations.

The redaction annotations merely describe the area that you want to remove content within.

The issue comes with how you apply the redactions.

page.apply_redactions(images=0, graphics=0, text = PDF_REDACT_REMOVE)

That will leave images and graphics untouched, while still removing the text.

Please let us know whether that solves the problem for you.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@katcom
Comment options

Answer selected by katcom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants