Flask-QRcode icon indicating copy to clipboard operation
Flask-QRcode copied to clipboard

Rendering an icon inside the QR code

Open UBassi opened this issue 2 years ago • 0 comments

Problem when rendering icon. A fix is required in __init__.py:

icon = icon.resize((int(icon_w), int(icon_h)), Image.LANCZOS) I/O icon = icon.resize((int(icon_w), int(icon_h)), Image.ANTIALIAS)

(ANTIALIAS removed in Pillow 10.0.0)

UBassi avatar Oct 25 '23 09:10 UBassi