endroid / qr-code

QR Code Generator
https://endroid.nl
MIT License
4.33k stars 721 forks source link

how to set the version of a qrcode #435

Closed youpuyewolong closed 6 months ago

youpuyewolong commented 6 months ago

the version of a QR code indicates its size, data storage capacity, and potential error correction capabilities, with versions ranging from 1 to 40

so how to set the version

endroid commented 6 months ago

Hi @youpuyewolong my library does not support such versions, only error correction levels. You can look at the underlying library which generates the QR code matrix https://github.com/Bacon/BaconQrCode if such functionality is available. If so, maybe this can be implemented. Good luck and thank you for your question.