GroupDocs.Redaction for Python via .NET opens, redacts and saves 40+ document and image formats. Every format below saves in its own format and as a rasterized PDF, the default of save().
The table shows what each kind of redaction does on each format. It was measured on GroupDocs.Redaction for Python via .NET 26.11, on Windows and Linux, with one document per format: ✓ the redaction applies, – the engine skips it for that format (the format has no such content), ✗ the redaction fails, or reports APPLIED and leaves the content in place.
Text: ExactPhraseRedaction and RegexRedaction with a replacement text. OCR: text in an image is found through an OCR connector; see Using OCR.
Box over text: the same redactions with ReplacementOptions(Color...), which draw a box instead of replacing the text.
Metadata: EraseMetadataRedaction and MetadataSearchRedaction. Comments: AnnotationRedaction and DeleteAnnotationRedaction.
Image areas: ImageAreaRedaction, in images and in the images a document embeds. Remove pages: RemovePageRedaction.
In HTML and Markdown a box cannot be drawn: use a replacement text. Plain text, CSV and TAB files have no room for a box either, and the engine skips it.
Removing pages of a multi-frame image, measured on 8 frames:
TIFF: loses the pages asked for; removing the only page of a single-page TIFF reports FAILED.
Animated WEBP: loses the last frame or a range as asked, but removing the first frame raises “Index was out of range”.
Animated GIF: loses fewer frames than asked, although the redaction reports APPLIED. Removing the first or the last of 8 frames leaves 8, and removing 5 from the third leaves 5.
Metadata was checked in the saved files for Office Open XML, OpenDocument, RTF, PDF and image files:
Office Open XML, OpenDocument and RTF files lose the properties the filter names.
A PDF saved as PDF keeps the properties that only its document information dictionary holds. The engine finds a PDF’s properties through its XMP packet, so a PDF whose author is written only in the dictionary keeps it, and the redaction still reports APPLIED. A rasterized PDF, the default of save(), carries none of the original’s author, title or subject.
Images: JPEG files have their EXIF values blanked. PNG files lose their text chunks and keep their EXIF data. WEBP, TIFF and GIF files keep their metadata, although the redaction reports APPLIED. BMP files have no metadata.
Tip
Can’t find your file format?
We’re here to help! Please post a request on our Free Support Forum, and our team will assist you.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.