erwanvivien / fast_qr

Ultra fast QRCode generation
https://fast-qr.com/
MIT License
197 stars 29 forks source link

fix: fix diagonal inversion of qr code when rendering to svg and image #48

Closed Adam-Alj closed 8 months ago

Adam-Alj commented 8 months ago

Fixes https://github.com/erwanvivien/fast_qr/issues/47

Using the following QRCode:

    let qrcode = QRBuilder::new("Test")
        .ecl(ECL::M)
        .version(Version::V01)
        .build()
        .unwrap();

The output is not diagonally inverted, and the format string is correct:

rendered_as_image_fixed