ADVERTISEMENT

How to safely blur or pixelize text and images (an experiment)

How to safely blur or pixelize text and images (an experiment)
Bernard Meyer
Bernard Meyer Senior Researcher
Mar 16, 2021 Updated: 28 September 2021 4 min read
Uncovering pixelized text

Testing the methods

Pixelized faces, once blurred, may not reveal much

Collage of pixeled and blurred Obama profile images
Image search on Yandex
Pixelized and blurred profile collage
Uploading blurred profile image on Yandex search
ADVERTISEMENT

Depixing a small, inconsequential part

  1. Cut out the pixelized text you want to Depix as a single rectangle
  2. Create a De Bruijn sequence, and take a picture of that. Essentially, a De Bruijn sequence is like putting all unique, possible combinations together. You should optimally take the screenshot of this sequence using the same tool with which the pixelized password was created. So, for our experiment, I used Notepad to create the pixelized password, keeping the same size font.
  3. Run the Depix script
Passwords hashed using MD5 algorithm
Pixelized version of password using Notepad
Pixelized password after running Depix
Depix issues on Github discussion
Pixelized password after using Depix

Much ado about nothing

  1. The most recommended is to use a simple, full-on, pitch black box over the information you want to censor, whether it’s text or an image. It can’t be transparent in any way, so opacity should be 100%. This is why redacted information in government documents is always blacked out.
  2. Pixelize low-resolution images. It’s probably best to pixelize a few times, if you prefer the aesthetics of pixelization vs a black CIA-style-redaction box.
  3. It's probably not best to blur, swirl, or apply any mildly destructive processes to your text or images, since they may be reversed. When in doubt, use a solid black box.
ADVERTISEMENT