Hi
I am trying to encode binary data into an aztec barcode however I cannot get it to work.
The command I am using to generate the barcode is as follows
zint --binary --barcode=92 -i test.bin
I noticed that the eci mode defaults to 3, however i belive in the case of raw binary this should be 0?
zint --binary --eci=0 --barcode=92 -i test.bin
The hex that gets generated (according to http://www.onlinebarcodereader.com/)
a) c2 90 0a
b) 43 56 57 4b 4f 0a
Thanks for any help,
John
I have also attached the full data I am trying to encrypt, running this through onlinebarcodereader.com gives very different results
Further to this I have found that certain ascii characters are causing problems as well, if I try to encode a simple JSON object.
{"string": "test"}
zint --barcode=92 -i test.ascii
Reading it back
{"string172SR 8=Õ
Hi John,
Your sample data showed up not one but three bugs in my code which I hope I have now fixed. Please have a look at the latest code and let me know if this solves the problems.
openbarcodereader.com does not work with raw binary data, it tries to convert to Unicode. I suggest testing with bctester or something similar:
http://www.bctester.de/en/home.html
Sample encodes of your data are attached. Thank you for taking the time to document this problem.
Robin.
Robin,
Thanks for your prompt work in resolving these issues! I can confirm that it is correctly generating barcodes for me.
What are the chances of getting these Aztec fixes bundled into a new 2.6.2 release?
Thanks again,
John
Thanks John,
I agree that this fix is worth pushing out a new version, so the chance is 100%, but it may be a couple of weeks before this happens.
Robin.
Awesome, a couple of weeks works well for me anyway
Thanks Again
John
On Thu, Oct 5, 2017 at 4:08 PM, Robin Stuart g3rrk@users.sf.net wrote:
Related
Tickets:
#71