← Back to blog
QR & Barcodes

QR colors and transparency: check the saved code in its final layout

Check transparent QR codes on their final background, understand PNG versus JPG export, and verify the printed result without assuming a universal scan rate.

PicLever · 2026-10-17 · Updated 2026-11-20

The cover illustrates the topic; it is not an actual processing result from the practice file below.

Choose the final background before choosing a QR color. Transparency is convenient for layouts, but the generator cannot know what photo or color will appear behind your code. A clear preview is not proof that the final print will scan.

What the actual saved PNG and JPG showed

On November 20, 2026, in Windows Chrome, we entered https://piclever.com/ in PicLever and saved both PNG and JPG using black modules, a transparent background and 1024×1024px. We reopened the saved files before recording these results.

File Actual size Background Software decoding
Transparent PNG 25,894 bytes Transparency retained Matches input when composited on white
JPG 57,340 bytes Opaque white background Matches input

Both files were 1024×1024px. PNG alpha ranged from 0 to 255, with 748,744 transparent and 299,832 opaque pixels. The preview checkerboard was not saved as a background. The JPG corner was white RGB(255,255,255).

The same transparent PNG did not decode when composited over black, where its black modules disappear into the background. A transparent export needs checking in its final placement, not just as an isolated file.

Saved files and reproduction scripts ZIP · File hashes and decoding record

We used jsQR 1.4.0. White and black backgrounds were synthetic composites used as decoder input, not photographs taken with a phone or scans of printed materials. This one code establishes neither a scan-success percentage nor a guarantee for every device.

A workflow for a printed menu

  1. Enter the actual destination in the QR generator and check that the address opens.
  2. Start with a dark code. Try brand colors in surrounding decoration before using them for the code itself.
  3. Choose the background for the final layout. A transparent code may suit white paper; use a white panel when placing it over a photo or pattern.
  4. Save PNG or SVG, place it in your layout, and keep the empty margin around the code.
  5. Print at the intended size and scan the print. A large on-screen code does not validate a small printed one.

Check each placement

Placement What to inspect Possible adjustment
Dark code on white paper Nearby text entering its margin Preserve clear space
Transparent code on a photo Dark image details merging with modules Add a white panel
Light code on a dark poster Whether actual camera apps read the inverted code Compare a dark code on white
Pale brand color Contrast after printing Use a darker color and print again

This is a checklist, not measured scan-rate data. Contrast guidance does not guarantee scanning. Size, printing and lighting also matter.

Transparency after saving

The checkerboard preview is not a background saved into the image. PNG can retain transparency; PicLever saves transparent areas as white in JPG and BMP. If an editor shows black behind a PNG, check whether that is its transparency display before assuming the file has a black background. Place the saved PNG over both white and your intended background.

Keep the original export instead of enlarging a messenger-compressed copy or screenshot. Record the export format, printed size, background, phone, camera app and lighting. Verify the decoded address, not just whether a notification appears. Where possible, try different phones at the actual installation distance and lighting. One successful scan is not a universal success rate.

Scope and correction

On November 20, 2026, we removed the previous simulated recognition-rate tables because public reproduction materials were not linked. This revision provides layout and export checks, not new phone measurements or guaranteed scan rates. It follows the current tool controls and format guidance; we added verification of actual PNG/JPG exports with public reproduction scripts.