A QR code is a grid of hard edges. Vector formats describe those edges mathematically, so they stay sharp at any size. Raster formats store pixels, so enlarging them softens the modules. That is the whole argument for SVG and EPS in print. This guide explains when each format is appropriate and what to check in the exported file.
The Difference That Matters
| Format | Type | Behaviour when enlarged | Best for |
|---|---|---|---|
| SVG | Vector | Stays sharp | Web, modern print workflows |
| EPS / PDF vector | Vector | Stays sharp | Traditional print and press |
| PNG | Raster | Softens when enlarged | Screens, web, small fixed-size use |
| JPEG | Raster | Blurs edges and adds artefacts | Avoid for QR codes |
A vector QR can be printed at 20 mm on a card or 2 metres on a banner from the same file. A PNG has to be generated at the final size with enough pixels.
When a PNG Is Fine
For a website, an app, a social post or an email signature, a PNG at a fixed size is perfectly good. Generate it at or above the display size, with hard edges and no antialiasing blur.
For print, a PNG can work if it is exported at the final physical size with enough resolution, but it gives the printer no room to scale. Vector is safer.
Never take a small PNG and enlarge it in the layout. The module edges become grey gradients and the quiet zone loses its crisp boundary.
Export at Final Size
Set the physical width in the generator before exporting. A vector file with the right dimensions avoids a print operator guessing how large the code should be.
Check that the quiet zone is part of the artwork. Some SVG exports end exactly at the grid, leaving the designer to add a margin that may be cropped later.
Keep the modules square. A non-uniform scale changes the grid geometry and can break detection at an angle.
Colour and Print Conversion
Vector files still need the right colours. Use dark modules on a light background and check the luminance contrast after CMYK conversion.
For offset print, use a single black plate for the modules where possible. Rich black builds the same colour from several plates, and small misregistration can soften module edges.
Avoid gradients, transparency and effects in the QR area. A printer's rasteriser may handle them differently from the design preview.
Verify the File
- Open the exported vector in a separate viewer.
- Measure the physical size and the quiet zone.
- Scale a copy to a large size and check the edges stay sharp.
- Print a proof at final size and scan it.
- Confirm the printer can accept SVG or EPS in their workflow.
The 300 DPI export guide covers raster export when vector is not possible.
