-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qr: add support for raw binary data extraction
If a QR code doesn't specify the text encoding of binary data through Extended Channel Interpretation, ZBar tries to guess the encoding. This unconditional character set conversion makes it impossible to recover other types of binary data stored in the QR code. The QR decoder now supports the ZBAR_CFG_BINARY configuration option. If set, it will output the bytes without converting them to text. This allows access to the actual bytes encoded in a binary QR code. Closes: #55 Thanks: Martin von Wittich <[email protected]> Signed-off-by: Matheus Afonso Martins Moreira <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information
1 parent
488bac3
commit 59e0ed1
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters