Originally posted by @martin762green in #5 (comment)
Noticed that signatures [...] not being redacted. [...]
Description
Allow users to remove signatures from documents:
- all signatures on saving
- single signatures, e.g., with right-click context menu
Implementation
- Backend: PyMuPDF knows widget types and one is
PDF_WIDGET_TYPE_SIGNATURE, thus, they may be removed withpage.delete_widget(widget). - Frontend: As additional dialog during saving? Or an advanced saving option? Or extra buttons for removing signatures?
_Originally posted by @martin762green in https://codeberg.org/censor/Censor/issues/5#issuecomment-11062094_
> Noticed that signatures [...] not being redacted. [...]
## Description
Allow users to remove signatures from documents:
- all signatures on saving
- single signatures, e.g., with right-click context menu
## Implementation
- Backend: PyMuPDF knows widget types and one is [`PDF_WIDGET_TYPE_SIGNATURE`](https://pymupdftest.readthedocs.io/en/stable/widget.html#supported-widget-types), thus, they may be removed with [`page.delete_widget(widget)`](https://pymupdf.readthedocs.io/en/latest/page.html#Page.delete_widget).
- Frontend: As additional dialog during saving? Or an advanced saving option? Or extra buttons for removing signatures?