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
I love this library, but I've been trying to embed a rectangular image and can't figure out how to do so (or if it's possible). If I pass a path to a rectangular image file the qrcode will stretch the image so that it becomes a square but looks deformed; on the other hand, I've figured out how to add white space to my rectangular image so that the image itself appears like normal, but then there's white space that looks bad. I've seen the recent commit about the embeded_image_ratio parameter, but that doesn't change the image's own height/width ratio, and I can't find any Issues or Pull requests on this specific idea.
Is there a way to embed a rectangle so that a rectangle appears in the final qr image?
The text was updated successfully, but these errors were encountered:
I love this library, but I've been trying to embed a rectangular image and can't figure out how to do so (or if it's possible). If I pass a path to a rectangular image file the qrcode will stretch the image so that it becomes a square but looks deformed; on the other hand, I've figured out how to add white space to my rectangular image so that the image itself appears like normal, but then there's white space that looks bad. I've seen the recent commit about the
embeded_image_ratio
parameter, but that doesn't change the image's own height/width ratio, and I can't find any Issues or Pull requests on this specific idea.Is there a way to embed a rectangle so that a rectangle appears in the final qr image?
The text was updated successfully, but these errors were encountered: