> just mask the sensitive data with a single color which is impossible to reverse (for rasterized images, this is not a good idea for PDFs
Also not a good idea for masking already compressed images of text, like jpg, because some of the information might bleed out in uncovered areas.