unlobito / skunk

Easy access to your store cards and other barcodes from your Pebble.
Other
29 stars 14 forks source link

Ability to select error correction level #19

Open hkleinespel opened 8 years ago

hkleinespel commented 8 years ago

I'm trying to get my boarding pass to be displayed correctly on my Pebble.

Barcode type is Aztec with 33% error correction level I believe.

Problem is, when I enter my barcode text in the Skunk configuration, it apparently applies a much higher error correction level, and as a result the displayed barcode on the Pebble contains much more data and the dots are much smaller than they need to be.

The official Airline app uses a much lower error correction, so I believe that this low level of correction must be sufficient.

Any way to add the error correction level to the config page ?

bcaller commented 8 years ago

This annoys me also for QR. I prefer this app to qr generator, but when I put the data in qr generator it shows a smaller qr code (less error correction, though still no option of choosing). It's possible that the airport scanner will accept it anyway, but I'd rather be able to get it to match.

unlobito commented 8 years ago

Hello!

@hkleinespel Unfortunately, I don't think there's really any way that I could expose the error correction level to the user without adding more clutter to an already fairly technical settings pane. Do you think dropping the error correction as low as possible would be a good solution? This issue also seems similar to #2.

@bcaller To the best of my knowledge, I'm already using the lowest possible level of error correction for QR codes (see https://github.com/henriwatson/skunk-config/blob/master/app.rb#L30) Have you tried scanning the barcode with a scanner? (such as an app on your phone)

hkleinespel commented 8 years ago

@henriwatson This could in a way solve #2 , and I think you wouldn't need more than a dropdown menu where you can select the error correction level, similar to what they have here : http://www.free-barcode-generator.net/aztec/