g0dkar / qrcode-kotlin

QRCode Generator implemented in pure Kotlin
https://qrcodekotlin.com/
MIT License
192 stars 20 forks source link

Make error correction configurable #122

Open harry248 opened 9 months ago

harry248 commented 9 months ago

We have not found a way to set the error correction level. It would be nice if this value could be defined externally.

g0dkar commented 7 months ago

It is possible to do it, though currently I admit it is quite unintiutive 😢

I'll both make it easier to change it by exposing this setting via the new Builder class and update the documentation accordingly to show how do it ^^

I'll let you know about the change once it is implemented and would love to know what you think about the implementation ❤️

harry248 commented 7 months ago

That sounds good. Many thanks for your efforts!