Halftone QR

Put a picture inside a QR code that still scans. Each QR module is split into a fine grid: the centre carries the code, and the rest shows your image.

Drop an image here or choose a file
Faces and bold shapes with strong contrast work best
Contrast
Brightness
Zoom
Checking whether the code scans…
Version–
Modules–
Picture area–
Mask–
How it works

A scanner locates the code with the three corner squares, builds a grid, and reads one sample near the centre of each module. Everything else in a module is free. So each module is divided into a small grid (6×6 by default). The centre cells get the QR bit, and the other cells, 89% of the area with the default grid, get a dithered black-and-white version of your picture. High error correction absorbs the occasional misread.

In colour, the picture is reduced to a small palette and dithered in colour. A scanner only sees brightness, so each module centre is darkened or lightened (its hue kept) until it reads clearly as dark or light, and the “QR strength” slider pulls the rest of the module part of the way too.

This is the technique Erik and Martin Demaine describe for their QR prints (erikdemaine.org/prints/QR); its best-known academic treatment is Chu, Chang, Lee & Mitra, “Halftone QR Codes”, ACM Transactions on Graphics, 2013.

Tips: short text gives a smaller code with bigger modules, which scans more easily. Raise the contrast for soft photos. Phone cameras vary: if yours struggles, the “5×5, centre 3×3” module grid gives the scanner a bigger target, with somewhat less picture. Always test the final file with a phone before printing it.