Can we resize a QR-Code?

╄→尐↘猪︶ㄣ 提交于 2019-12-09 11:17:12

问题


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.


回答1:


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.




回答2:


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! :)



回答3:


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




回答4:


Don't just re-size it that will make the edges blurry. You want it to have hard edges like MS-paint or the pencil brush in Photoshop. Open the file in Photoshop and go to IMAGE - RE-SIZE IMAGE and make sure Nearest Neighbor is selecting from the bottom drop down menu before you click OK




回答5:


You CAN'T, not with the free QR generators. Unless you do some Adobe Illustrator tweaks with Live Trace/Paint afterwards. The abundant free QR generators are a joke when it comes to publishing the QR code you need. Resizing an originally low resolution image (the previous comment) for publishing/printing purposes is the most rediculous statement I've seen in a while. The guy doesn't know what he is talking about.



来源:https://stackoverflow.com/questions/6179376/can-we-resize-a-qr-code

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!