Description
Currently, all redactions are marked with black, filled rectangles.
Implementation
PyMuPDF allows to add redaction annotations with
- variable color (RGB values) or without filling (
False) - cross-out style (✉)
- text placed in the rectangle with font, size, alignment, color (maybe out of scope, here?)
For color choice in context menu: maybe propose
- black
- red
- transparent
- auto (determine color from underlying objects)
- manual
First context menu mockup:
image
## Description
Currently, all redactions are marked with black, filled rectangles.
## Implementation
PyMuPDF allows to [add redaction annotations](https://pymupdf.readthedocs.io/en/latest/page.html#Page.add_redact_annot) with
- [ ] variable color (RGB values) or without filling (`False`)
- [ ] cross-out style (✉)
- [ ] text placed in the rectangle with font, size, alignment, color (maybe out of scope, here?)
For color choice in context menu: maybe propose
- black
- red
- transparent
- auto (determine color from underlying objects)
- manual
First context menu mockup:

12 KiB