redact annots can not remove overlap contents #1477
-
hi there, i tried to use the below code to remove the contents in my pdf document, add redact annot can mask the content(drawing), but once i use adobe PDF pro DC to edit the document(Touch up tool ), after delete the redact annot, the drawing appeal again, which mean the redact annot can not remove the contents completely, right? rect=fitz.Rect(2,2,200,27) doc.scrub(redactions=True,redact_images=2) how can remove the contents in the document completely? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You are right:
Other overlapping objects, e.g. drawings, remain untouched - there is no way out. |
Beta Was this translation helpful? Give feedback.
You are right:
The redaction logic only removes
fitz.PDF_REDACT_IMAGE_REMOVE
is specified,fitz.PDF_REDACT_IMAGE_NONE
is specified,fitz.PDF_REDACT_IMAGE_PIXELS
is specified.Other overlapping objects, e.g. drawings, remain untouched - there is no way out.