conv.

All stories
TechRunning 14h

Dithered QR Codes: Embedding Images While Maintaining Scannability

Developers explore error-diffusion dithering techniques to embed pictures in QR codes without compromising machine readability.

Conversation activity · last 27 hours peak 2/hr

Peak 2 items in one hour at Aug 8, 6 PM; 4 items over 27 hours Aug 8, 6 PM — 2 itemsAug 8, 7 PM — no itemsAug 8, 8 PM — no itemsAug 8, 9 PM — 1 itemAug 8, 10 PM — no itemsAug 8, 11 PM — no itemsAug 9, 12 AM — no itemsAug 9, 1 AM — no itemsAug 9, 2 AM — no itemsAug 9, 3 AM — no itemsAug 9, 4 AM — no itemsAug 9, 5 AM — no itemsAug 9, 6 AM — no itemsAug 9, 7 AM — no itemsAug 9, 8 AM — 1 itemAug 9, 9 AM — no itemsAug 9, 10 AM — no itemsAug 9, 11 AM — no itemsAug 9, 12 PM — no itemsAug 9, 1 PM — no itemsAug 9, 2 PM — no itemsAug 9, 3 PM — no itemsAug 9, 4 PM — no itemsAug 9, 5 PM — no itemsAug 9, 6 PM — no itemsAug 9, 7 PM — no itemsAug 9, 8 PM — no items 2 items · 6 PM
Aug 9

Summary, timeline and people extracted by Claude from 4 items across 3 sources · 8h ago. Quotes are verbatim.

A technical article by Andrew T. explains methods for creating visually distinctive QR codes that embed images using dithering techniques, particularly Floyd-Steinberg error diffusion. The approach leverages QR code robustness by modifying data modules while preserving function patterns, allowing codes to remain scannable while displaying low-resolution embedded images. Related research on halftone QR codes demonstrates similar aesthetic enhancements through computational pattern replacement.

  • QR codes can be modified in their data modules while preserving function patterns that enable scanner recognition, allowing for aesthetic customization.
  • Floyd-Steinberg error diffusion dithering produces higher-quality embedded images than threshold or Bayer filter methods by distributing quantization error across nearby pixels.
  • Error diffusion applied to QR code data modules reduces visual noise from random module patterns, improving the appearance of embedded images while maintaining scannability.
  • Related research demonstrates multiple computational approaches (halftone patterns, learned dictionaries) for creating visually distinctive QR codes without sacrificing machine readability.

How it unfolded

  1. Reaction Related halftone QR code research surfaces

    Halftone QR code research paper appears on Hacker News, drawing renewed attention to computational approaches for creating visually pleasant yet scannable QR codes.

  2. Reaction Lobsters community discusses technique

    Same article posted to Lobsters aggregator, receiving 45 points and 2 comments from the programming community.

  3. Report Dithered QR codes article published

    Andrew T. publishes detailed technical article on andrewt.net explaining how to create error-diffused QR codes that embed images using Floyd-Steinberg dithering and related techniques.

  4. Reaction Hacker News discussion begins

    Article gains 302 points and 31 comments on Hacker News, indicating significant technical community interest in the dithering QR code approach.

  5. 710 weeks quiet
  6. Report Halftone QR code research published

    Chia-Sheng Chang and team at National Tsing Hua University publish research on halftone QR codes that use learned pattern dictionaries to create visually high-quality codes while maintaining machine readability.

What people are saying verbatim

“A QR code is really just a way of encoding a few bytes of data in a way that can be easily read froma photo by a smartphone or similar device.”

Andrew T. · andrewt.net article

“They're designed to be very robust to bad focus, bad printing, funny angles, and missing areas.”

Andrew T. · andrewt.net article

“The idea is that once we've thresholded the entire picture, every part of the image will be, on average, closer to the correct brightness than more regular dithering.”

Andrew T. · andrewt.net article

“The other advantage of this irregular dithering is that the salt-and-pepper noise caused by the QR code data modules is much harder to spot.”

Andrew T. · andrewt.net article