Sample Header Ad - 728x90

Decode and identically re-encode QR code

1 vote
0 answers
324 views
It happens to me regularly that I get a low quality raster image of a QR code and I need it in better quality. This works in principle: zbarimg --quiet --raw qr-bad.png | qrencode -t SVG -o qr-good.svg But sometimes it's important to keep the QR code exactly the same. Is there a way to detect the parameters of the original and keep them the same? I'd like the result to have exactly the same pattern of white and black blocks.
Asked by Nobody (559 rep)
Apr 6, 2022, 09:20 PM