New Tool Radar

AI Design Workflows

How to Check That a QR Code in an AI-Generated Design Actually Scans

Check that a QR code in an AI-generated design actually scans by replacing any AI-drawn code with one from a real QR encoder and scanning it with a phone before you print.

Schematic diagram: three steps to check a QR code — delete the drawn code, make one with an encoder, scan it with a phone — with a practice result of the AI-drawn code failing 0 of 5 checks and the encoder-made code passing 5 of 5.

A QR code in an AI-generated poster can look perfect and do nothing at all. An image generator draws what a QR code looks like — three corner squares and a field of black and white blocks — but it does not calculate anything. A real QR code is data: every small square is one bit, calculated from your link. A drawn one holds no link, so nothing happens when you scan it. The only fix is to make the code with a real encoder and test it with a real phone before the design is printed.

Why the drawn code never scans

A QR code follows the ISO/IEC 18004 standard: three finder squares in the corners, timing lines, format information, and error correction bytes calculated from your content. A scanner reads all of that and rebuilds your link. An image model does not calculate anything. It learned what QR codes look like from millions of pictures, so it draws something with three corner squares and a lot of noise. Sometimes it even looks very good. But the modules are random, and the code decodes to nothing or to an error. As one guide puts it: “The rule is simple: the code must come from a QR encoder. AI can choose the colors, write the call to action, and make the poster around it.”

One first-hand account makes the same point from the other side: a poster came back with a handsome, convincing code, with the right shape, the right texture, and the little target squares in three corners — and “It does not scan. None of them ever scan.” That is the problem this check fixes: the picture is convincing, so nobody tests it, and the failure is only discovered after printing.

Replace the code, then scan it twice

First, find out how the code in the design was made. If an image generator drew it, delete it and make a new one with a real QR encoder — a QR library, a QR tool, or an assistant that writes and runs code with a QR library. Place the real code into the design, keeping four modules of empty quiet zone on every side and dark modules on a light background with at least 4.5:1 contrast. Then scan it with your phone camera, from the distance a real person will stand, and read the link the phone shows. Do not trust a decoder the assistant runs on its own output only. Scan it on a second phone too — one new, one at least four years old — in normal room light. For print, save the code as SVG; for screens, PNG is enough.

Practice QR check: fictional Maple Corner poster

The poster below is fictional practice material. No image generator or QR tool was run on it for this guide; the table is a practice set so you can see how the check works.

Check AI-drawn code Encoder-made code Result
Made by a QR encoder? No — drawn by the image generator Yes — made with a QR library Fail / Pass
Scans with a phone camera? No — decodes to nothing Yes — opens the menu page Fail / Pass
Quiet zone: 4 modules clear? No — filled with picture Yes — 4 modules of empty space Fail / Pass
Contrast: dark on light, at least 4.5:1? No — blended into the art Yes — black on white Fail / Pass
Size: at least 2 cm wide on a card? 1 cm — too small 2 cm Fail / Pass

The AI-drawn code fails all five checks, and the encoder-made code passes all five. That is the point of the table: the two codes can look almost the same on screen, and only the checks tell them apart. Never approve a QR code by looking at it. Scan it, read the link it opens, and check the quiet zone, the contrast, and the size before it goes to print.

What to do when a styled code will not scan

If a styled code fails, undo one change at a time and scan after each one: restore the quiet zone first, then the contrast, then the finder squares. Rounded modules, a logo in the middle, and low-contrast colors each make scanning harder, and changing several at once hides which one broke it. If it still will not scan on an older phone, use the plain black-on-white code — a code that scans beats a code that looks clever.

Expected result. We checked the Pretty QR guide on QR codes that scan. We did not run any image generator or QR tool on the Maple Corner poster.

Limits

This check covers whether a QR code scans. It does not check whether the link it opens is the right link — read the address the phone shows, because assistants sometimes change a URL — and it does not check whether the code will keep working: a dynamic code that points through a vendor’s short link can stop working if a subscription ends, while a static code holds the link in the pattern itself. The 4.5:1 contrast mark, the 4-module quiet zone, and the 2 cm minimum come from the QR guide cited below, not from a standard. Maple Corner is fictional, and the poster above is practice material.

Sources

  • How to Make a QR Code with ChatGPT or Claude (That Actually Scans) — Pretty QR — “Do not use an AI image generator for the code itself. Image models draw patterns that look like a QR code but hold no link, so nothing happens when you scan them.” Also: “A QR code is data. Each small square (a module) is one bit, and the pattern follows the ISO/IEC 18004 standard.” And: “Scan it with your phone camera and open the link. Do not trust a decoder the assistant runs on its own output only.” The guide’s pre-print list: “Contrast: dark modules on a light background, at least 4.5:1. Quiet zone: 4 modules of empty space on every side. Size: at least 2 cm wide on a business card.”
  • AI cannot draw a QR code that works — Kyber Cypher — “I asked an image generator for a poster with a square scannable code on it. It produced a handsome poster with a convincing code: the right shape, the right texture, the little target squares in three corners. It does not scan. None of them ever scan.”
See all