Closed andres-hurtado-lopez closed 1 year ago
Hello @andres-hurtado-lopez what is not working ? The image is too small you mean ?
https://github.com/erwanvivien/fast_qr/blob/master/src/convert/image.rs#L121
Here you can find how to size it 👍 A V40 QRCode won't be really readable if you don't increase it's size and with (default is like 177+8 pixels wide)
Tell me if using it fixes your issue ?
My bad. You are completly right. I assigned the size and removed the version and now the QA is generating correctly.
Thank you so much for you all !!!
High. I was trying to generate a QR as a PNG to I could integrate it into a an tag on a webassembly module I' building but every single time in generates a garbled image. I don't know what step I'm missing to do over the produced [u8] so align the data of if it is in reality an issue with a dependency.
The shortest example I can provide is:
Cargo.toml
main.rs
The print at the end produces the URL encoded data that is supposed to be used on the tag
The image can be downloaded from here : https://ibb.co/Y3n4q5T
I'll appreciate any guidance on the topic