You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a qrcode image is generated using qrcode-rust(https://github.com/kennytm/qrcode-rust) and then inserted into a exist PDF, the qrcode within the PDF becomes unreadable or corrupted
let img = xobject::image("./qrcode.png").unwrap(); doc.insert_image(page_id, img, (100.0, 300.0), (100.0, 100.0)).unwrap();
The text was updated successfully, but these errors were encountered:
I cannot reproduce this. I just took the image from the crates' README, and it worked perfectly fine (despite the qr code being stretched to a third of its width).
When a qrcode image is generated using qrcode-rust(https://github.com/kennytm/qrcode-rust) and then inserted into a exist PDF, the qrcode within the PDF becomes unreadable or corrupted
let img = xobject::image("./qrcode.png").unwrap(); doc.insert_image(page_id, img, (100.0, 300.0), (100.0, 100.0)).unwrap();
The text was updated successfully, but these errors were encountered: