You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a QR Code that I'd like to re-generate. It is decoded using standard libraries and easily read, but regenerating it seems not possible with various tools, including with segno.
The data consists of alphanumeric characters, yet is also has one non-alphanumeric character, which implies it should be a Byte, but it is version 1 and the error correction is of type M. And under these circumstances, one cannot fit the data into the QR Code.
Goofing around with http://qrlogo.kaarposoft.dk/index.html shows that while decoding, the decoders actually switch between 3 different data modes, alphanumeric, byte, numeric respectively.
It first switches to alphanumeric mode, reads 8 bytes, then switches to byte mode, reads 1 byte, and then switches to numeric mode, and reads the rest of it. This way data is easily fit into a smaller QR.
Reading the API, I've failed to find a way to switch between modes midway in the data, since I can only feed one mode and one set of data. Is it possible somehow?
The text was updated successfully, but these errors were encountered:
I have a QR Code that I'd like to re-generate. It is decoded using standard libraries and easily read, but regenerating it seems not possible with various tools, including with segno.
The data consists of alphanumeric characters, yet is also has one non-alphanumeric character, which implies it should be a Byte, but it is version 1 and the error correction is of type
M
. And under these circumstances, one cannot fit the data into the QR Code.Goofing around with http://qrlogo.kaarposoft.dk/index.html shows that while decoding, the decoders actually switch between 3 different data modes, alphanumeric, byte, numeric respectively.
It first switches to alphanumeric mode, reads 8 bytes, then switches to byte mode, reads 1 byte, and then switches to numeric mode, and reads the rest of it. This way data is easily fit into a smaller QR.
Reading the API, I've failed to find a way to switch between modes midway in the data, since I can only feed one mode and one set of data. Is it possible somehow?
The text was updated successfully, but these errors were encountered: