Description
Although, rasterized export is not and won't be Censor's core functionality, it maybe added as paranoid saving option without the issues of #5.
This export option should also remove all metadata (Edit: Censor does this anyhow since !140 in v0.5.0).
Implementation
- UI: add a menu entry
Save Rasterized As...(enabled even without added redactions) - Backend:
- apply redactions (PyMuPDF)
- extract page pixmaps
- create new document and add PNG images at certain resolution (e.g., 300 DPI) as pages
- save this document
Workaround
- Use Censor and save normally
- Use ghostscript to convert document
## Description
Although, rasterized export is not and won't be Censor's core functionality, it maybe added as paranoid saving option without the issues of #5.
This export option should also remove all metadata (Edit: Censor does this anyhow since !140 in v0.5.0).
## Implementation
- UI: add a menu entry `Save Rasterized As...` (enabled even without added redactions)
- Backend:
1. apply redactions (PyMuPDF)
2. extract page pixmaps
3. create new document and add PNG images at certain resolution (e.g., 300 DPI) as pages
4. save this document
## Workaround
1. Use Censor and save normally
2. Use ghostscript to convert document