Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we resize a QR-Code?

Tags:

resize

qr-code

Does anyone know if we can resize a QR-Code easily by using a proper vector program OR, is the size information contained on that code, hence, we will not be able to resize without changing the code ?

Thanks in advance.

like image 214
MEM Avatar asked May 30 '11 17:05

MEM


3 Answers

You can resize as much as you want. The information is encoded in the pattern of the data, not in the size of the dots themselves. As long as a scanner can resolve properly between light/dark, the QR code should be readable at any size.

like image 197
Marc B Avatar answered Oct 05 '22 23:10

Marc B


Update 2016: If someone happens to need to upscale a QR code image in some sort of browser/webview - you might get away with a simple CSS property:

img {
    image-rendering: pixelated;
}

This way the upscaled image stays sharp.

See a comparison here: http://codepen.io/erkkit/pen/GodxGX

like image 36
Erkki Teedla Avatar answered Oct 06 '22 00:10

Erkki Teedla


For high resolution (vector image) QR code for printing/publishing:

  1. Get your free QR code
  2. Right-click-and-save OR PrintScreen the QR code
  3. Open/insert it in Photoshop, crop the QR code, and save as *.psd file (default Photoshop format)
  4. Open that *.psd file with Adobe Illustrator – and you get the vector QR code. DONE! :)
like image 38
Stahlratte Avatar answered Oct 05 '22 23:10

Stahlratte