diff --git a/drinks_touch/screens/new_id_screen.py b/drinks_touch/screens/new_id_screen.py index dd4afabc..8e83bc77 100644 --- a/drinks_touch/screens/new_id_screen.py +++ b/drinks_touch/screens/new_id_screen.py @@ -149,7 +149,7 @@ def generate_receipt(euro, code_img): img = Image.new("L", (width, height), "white") # code_img = code_img.transpose(Image.ROTATE_90) code_img = code_img.resize( - (int(width * 1.13), int(height * 0.5)), Image.ANTIALIAS + (int(width * 1.13), int(height * 0.5)), Image.LANZOS ) # code_img = code_img.resize((int(width * 0.5), int(height * 1.0)), Image.ANTIALIAS) # img.paste(code_img, (int(0.4*width), int(0.0*height)))