manuels / unix-toolbox.js-exact-image

ExactImage's bardecode ported to JS
http://manuels.github.com/unix-toolbox.js
61 stars 21 forks source link

Last digit of barcode #3

Closed fdansv closed 11 years ago

fdansv commented 11 years ago

Hi Manuels,

I love your barcode reading script, it works really well. I'm having one issue though: it returns all digits except the last one. Is there a particular reason for this? Can you tell me how would I do to read the whole sequence.

Thanks a lot in advance and congrats for such a great piece of code.

Fran

manuels commented 11 years ago

The last digit is only a checksum and contains no information. However, if you need the last digit, too, you can easily calculate it: see https://github.com/manuels/unix-toolbox.js-exact-image/issues/1#issuecomment-20919171

fdansv commented 11 years ago

Thank you so much!!

On Wed, Jul 31, 2013 at 11:56 AM, manuels notifications@github.com wrote:

The last digit is only a checksum and contains no information. However, if you need the last digit, too, you can easily calculate it:

1https://github.com/manuels/unix-toolbox.js-exact-image/issues/1#issuecomment-20919171

— Reply to this email directly or view it on GitHubhttps://github.com/manuels/unix-toolbox.js-exact-image/issues/3#issuecomment-21854191 .

Francisco Dans +44 (0) 7575139317 www.dansd.com twitter.com/fdans flickr.com/fdansv