piderman314 / bardecoder

Detect and decode QR Codes, written in 100% Rust.
MIT License
275 stars 34 forks source link

Add support for other QR Code versions and ECC modes #17

Closed KyleMaas closed 4 years ago

KyleMaas commented 4 years ago

I'm getting invalid combination errors for versions (20 in any ECC mode, for example) and ECC modes (40 in Quartile). It would be nice if block_info had a complete set of data for all version numbers and ECC modes.

piderman314 commented 4 years ago

Yeah it was really boring to add all that data manually so I stopped after a while. I'll see if I can add some more ;)

KyleMaas commented 4 years ago

Awesome. I'd be happy to help with this if I knew how you figure out the numbers the options need.

KyleMaas commented 4 years ago

Really, it might be even better if that information could be generated programmatically instead of requiring manual lookup table generation.

piderman314 commented 4 years ago

I only have a crappy PDF with all the data (the official spec even). But I managed to regex my way through it ;)

KyleMaas commented 4 years ago

Awesome! This was the main thing blocking my other project from moving forward. Thanks!