Add your content

Design your QR code

2
NoneLarge

Download your QR code

QR Code in an Image — Embed the Code Into the Picture

qr code in image

QR Code in an Image — Embed the Code Into the Picture

You can put a QR code on top of an image, or you can embed it into the image so the picture shows through the pattern itself. The second is what QRolling's Artistic mode does, and it works by spending the code's error-correction budget across every module at once — which buys a striking design and costs scanning margin. Here is how much, which images survive it, and how to test what comes out.

Embed a QR code in your image

Free · Artistic mode · upload your own image · high-res PNG

Placing a code on an image vs embedding it in one

Two different jobs get called the same thing, and only one of them is hard.

On the image is compositing. The QR keeps its own light background and sits in a corner of the photo like a sticker. Nothing about the code changes, nothing about scanning changes, and this is the right answer roughly nine times out of ten. If the code just needs to live on a photographic layout, export a transparent QR code PNG, drop it on a pale area, and stop reading here.

In the image is blending. There is no white box: the picture continues underneath the pattern, the modules are drawn from the image itself, and the code reads as part of the artwork rather than as something stapled to it. That is what people are looking for when they search for embedding a QR code into a photo or an illustration, and it is what QRolling's Artistic tab does — the third tab in the generator, next to Type and Design.

The rest of this page is about the second one, because it is the one with rules.

Error correction is the entire budget

Every QR code carries Reed-Solomon error correction. At level H, about 30% of the pattern can be destroyed and the code still decodes. That surplus is not a safety feature you are borrowing against — it is the only reason blending is possible at all.

A center logo spends that budget in one place: one patch of modules is gone, the rest are perfect, and the math is easy to reason about. The sizing rules for that case are in the QR code generator with logo guide.

Blending spends the same budget everywhere at once. Instead of 30% of modules missing and 70% pristine, you get 100% of modules slightly compromised — each one pulled toward the color of the image behind it. Same budget, spread thin across the whole grid. This is why an embedded code that decodes flawlessly on your monitor can fail on a wall: on screen every module still has a little contrast left, and print, glare, and distance take that little away from all of them at once.

The Artistic controls are three ways of deciding how to spend it:

  • Scan strength lays a wash of flat color over the image behind the modules. At 0 the picture runs at full intensity and the pattern has nothing but its dots to work with; raise it and the field pales, the modules separate cleanly, and the image fades. The default sits at 0.15.
  • Dark module size sets how much of each dark cell the drawn dot covers, from a fifth of the cell up to all of it. Bigger dots, stronger code, less picture.
  • Light dot size does the same for light cells. At 0 the image shows through untouched wherever the code is light — the setting that makes a blend look like a blend, and the first one to raise when a code will not scan.

The defaults (0.62 dark, 0.24 light, 0.15 wash) are tuned to show the most image that still scans on a phone at arm's length. Every step from there toward the picture is a step toward a code that works on your desk and fails on a poster.

Which images embed well, and which never will

The scanner does not see your photograph. It sees your photograph sampled down to one value per module — a grid maybe 33 by 33 or 45 by 45 cells across. Any detail smaller than a module is noise, and noise costs error-correction budget for nothing.

ImageEmbeds well?Why
Flat illustration, vector art, logo shapesBest caseLarge flat areas and hard edges survive sampling intact
One subject on a plain or blurred groundYesContrast where you need it, calm space in the middle
Bold graphic photography, strong light and shadeUsuallyEnough tonal separation for modules to read
Foliage, crowds, brickwork, fabric textureNoDetail at module scale turns into noise
Fog, dusk, flat mid-tonesNoNothing for the modules to separate from
Dark photographsNoDark modules on a dark field is unreadable at any setting
Faces, or any subject dead centerNoThe grid lands across the part you care about and reads as damage — to the scanner and to the viewer

Two shortcuts are worth knowing. An illustration beats a photograph of the same subject, every time — flat color and clean edges are exactly what survives being reduced to one sample per module, which is why illustration blends look sharp where photo blends look muddy. And the center of the image should be the boring part. Busy composition in the middle fights the densest, most fragile region of the code; a plain sky, a wall, a gradient, or a soft blur in the center gives the pattern room to exist.

If an image fails these tests, the fix is a different image, not a stronger setting. Turning scan strength up until a bad photo scans produces a pale grey rectangle that was never worth blending.

The three finder patterns are not negotiable

The three large squares in the corners are how a camera locates a code at all. Before a single bit is decoded, the scanner sweeps the frame for their 1:1:3:1:1 run of dark and light — the anatomy is in what is a QR code. They have to stay at full contrast against a clear field, whatever the image is doing underneath them.

QRolling draws them at full strength regardless of the artwork. If you assemble a blend by hand in a design tool, this is the first thing you break and the last thing you notice, because a code with weakened finders does not degrade gracefully. It does not scan slowly. It goes from working to invisible.

The quiet zone — four modules of clear light margin on all four sides — is the other casualty, and it is specific to this technique: an embedded code wants to bleed to the edge of the artwork, which is precisely what removes the margin scanners need to find where the code stops.

What you trade away, and where these belong

Blending buys visual impact with scanning margin. Budget for the loss:

  • Working distance. Plan on roughly half the range of a plain code. Take the width for your scan distance from the QR code size guide and add 50%.
  • Raster only. The artistic result exports as a PNG, because the picture it is built from is a raster too — there is no vector version that stays razor-sharp at any size. Export far above final size and follow the resolution rules in the print QR code guide; an upscaled blend is a dead code.
  • Bad surfaces get worse. Glossy laminate, curved bottles, small stickers, and dim rooms each cost margin that a plain code absorbs and an embedded one cannot.
  • It is a separate export. The artistic PNG does not replace your standard styled code, so keep a plain version for the placements where reliability outranks looks.

Where they earn their keep: posters, menu boards, album and packaging panels, event backdrops, window graphics, editorial pages — large, flat, matte, well lit. Where they do not: business cards, receipts, 3 cm table tents, bottle necks, anything scanned in a hurry. When a photo-plus-code layout has to be small, use a normal styled code from the custom QR code generator and place it on the image instead.

Test it harder than you would test a normal code

An ordinary code passes or fails. An embedded code has a middle state where it technically decodes and is still useless in the field, so test for speed, not just success.

  1. Two phones, one iPhone and one Android. Marginal codes are where the decoders disagree.
  2. At the real distance, on the real material, in the real light. Screen tests prove nothing here; the monitor is backlit and your poster is not.
  3. Time the lock. A plain code catches in under a second. If the blend takes three or four seconds of hunting, it will fail outright on a wall in worse light. Raise light dot size or scan strength and test again.
  4. Decode the exported file with a scan from a picture check, to confirm the destination inside is exactly what you meant.
  5. Print one proof before the run. If it fails, work down the fault list — for blends the answer is nearly always the image, the size, or the surface.

How to embed a QR code in an image

  1. Enter your content first

    Pick the type on the QRolling home page and enter the URL or text. Keep the destination short: fewer characters means a coarser grid, and a coarser grid blends far better than a dense one.

  2. Open the Artistic tab

    Switch from Design to Artistic, then choose a gradient preset or upload your own image. Flat illustration and single-subject photography embed best; busy texture and dark photos do not.

  3. Balance the image against the code

    Adjust scan strength, dark module size, and light dot size. Move away from the defaults toward the picture only as far as the code still reads, and leave the three corner finder patterns at full contrast.

  4. Export the PNG large

    The artistic result is a raster image, so export well above the final print size. Keep the quiet zone clear — four modules of light margin on every side, even where the artwork wants to run to the edge.

  5. Test on the real material

    Print one proof at final size and scan it with an iPhone and an Android, at the real distance, in the real light. If the lock takes more than a second or two, raise the settings and reprint.

Frequently asked

Can you embed a QR code inside an image?

Yes. QRolling's Artistic tab draws the code out of an image you upload, so the picture shows through the pattern instead of sitting behind a white box. It works because QR error correction can absorb roughly 30% degradation — blending spends that across every module at once, so the result scans from shorter range than a plain code and needs to be printed larger.

What is the difference between putting a QR code on an image and embedding it in one?

On the image, the code keeps its own light background and is simply composited into a corner: completely safe, no scanning cost. In the image, the artwork continues underneath the modules and there is no white box: much stronger visually, and it trades away scanning margin. For small or critical placements, put the code on the image.

Which images work best for an embedded QR code?

High contrast, uncluttered in the center, free of fine texture. Flat illustration and vector art are the best case, because large areas of flat color survive being sampled down to one value per module. Foliage, crowds, fabric, faces, fog, and dark photographs all fail — the detail becomes noise that eats the error-correction budget.

Does embedding a QR code in a picture break scanning?

It narrows the margin rather than breaking it. Expect roughly half the working distance of a plain code, and treat glossy surfaces, curves, small sizes, and dim light as things it can no longer absorb. The one hard failure is damaging the three corner finder patterns: those must stay at full contrast, or the code becomes invisible to cameras rather than merely slow.

Can I embed a QR code into an illustration or artwork?

Illustration is the ideal source. Drawn artwork is already made of flat areas and hard edges, which is exactly what stays legible once the image is reduced to the module grid, so illustration blends look sharp where photographic ones look muddy. Keep the center of the illustration calm and the code has room to sit in it.

Can I get the embedded code as an SVG for print?

No — the artistic design exports as a PNG, because the image it is built from is a raster too. Export well above the final print size and follow the usual print resolution rules; an upscaled blend loses the module edges that were already its thinnest asset. If you need vector output for a large print run, use a standard styled code with a center logo instead.

Need a different QR type? Browse all 48 QR types on the home page.