Skip to content
Discussion options

You must be logged in to vote

You are right:
The redaction logic only removes

  • links that overlap a redact rect
  • text characters whose (somewhat reduced) bbox overlaps a redact rect
  • images ...
    • either completely if overlapping a redact rect and fitz.PDF_REDACT_IMAGE_REMOVE is specified,
    • or not at all if fitz.PDF_REDACT_IMAGE_NONE is specified,
    • or the overlapping part if fitz.PDF_REDACT_IMAGE_PIXELS is specified.

Other overlapping objects, e.g. drawings, remain untouched - there is no way out.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marc-chin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants