There is a sensitive document. Credit card statements. Reimbursement.
I want to redact (hide) parts of the document.
- Create a pitch black highlighter pen in Okular. Highlight the relevant text in black.
- The text is still there and can easily be seen, for example by highlighting (in the sense of Ctrl-A) the entire document.
- To flatten = actually remove the text beneath the black highlights:
pdf2ps in.pdf - | ps2pdf - out.pdf