Printers often ask for 300 DPI, and people assume that a 300 DPI QR code is automatically sharp. DPI describes pixel density, not module geometry. A 300 DPI image can still blur if it was generated smaller and enlarged. This guide converts print size into pixel dimensions and explains when to ignore DPI entirely and send vector.
Calculate the Pixel Size
At 300 DPI, a 25 mm wide code needs about 295 pixels across. A 50 mm code needs about 591 pixels. A 100 mm code needs about 1,181 pixels.
The important number is pixels per module. If a code has 33 modules across and is 295 pixels wide, each module is about nine pixels. That is enough for a crisp edge. If the same 33-module code is exported at 100 pixels, each module is three pixels and the edges soften.
Generate at the final physical size with the required pixel dimensions. Do not export a small image and enlarge it in the layout.
Vector Is Usually Better
For commercial print, SVG or EPS avoids the whole question. The printer can scale the code to any size without resampling pixels.
Use a raster export only when the printer's workflow requires it or when the destination is a screen. In that case, export at final size at 300 DPI or higher.
If the QR code sits inside a larger raster artwork, make sure the whole artwork is 300 DPI at final size, not just the code.
Colour and Compression
Use dark modules on a light background and avoid JPEG compression, which introduces artefacts around hard edges. PNG or TIFF is safer if raster is required.
Check the CMYK conversion. A colour that looks high-contrast on screen can lose luminance difference in print. Ask for a proof.
Keep the quiet zone inside the exported image. A margin added later in the layout can be cropped by the printer's trim.
A Practical Export Checklist
- Decide the final physical width from the viewing distance.
- Choose the shortest payload that works.
- Export SVG at that size, or PNG at 300 DPI with enough pixels per module.
- Include the four-module quiet zone in the file.
- Print a proof and scan it.
The vector format guide explains why vector is safer for press work.
