> 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.
Interesting - does a little extra coverage solve this or is it possible to use distant pixels to find the original?