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
output is inverted on Speculos and miss-shown on real device (Flex and Stax)
File has been generated with this code:
importqrcode# Create a QR code objectqr=qrcode.QRCode(version=1, box_size=2, border=0)
# Define the data to be encoded in the QR codedata="https://www.ledger.com/"# Add the data to the QR code objectqr.add_data(data)
# Make the QR codeqr.make(fit=True)
# Create an image from the QR codeimg=qr.make_image(fill_color="white", back_color="black")
# Save the QR code imageimg.save("qrlink.gif", format="GIF")
The text was updated successfully, but these errors were encountered:
The inversion of the color is present only on the RUST SDK, so it may be a problem in the "include_gif" macro.
The distorition of the image is also present for the C SDK, so it may be a underlying problem. Note that it is appearing for images which are not sized with a multiple of "4" (or maybe 8) in height (or maybe width)
By using the Boilerplate/Rust application and changing the file name in
ui_menu_main
function fromto
output is inverted on Speculos and miss-shown on real device (Flex and Stax)
File has been generated with this code:
The text was updated successfully, but these errors were encountered: