PYTHON tkinter image | Sololearn: Learn to code for FREE!


PYTHON tkinter image

How could I remove the border around the image ? code : carte = Canvas(window, height=116, width=80) carte_img = PhotoImage(file="./img/cartes/coeur/as.png") carte.create_image(41, 59, image=carte_img) carte.pack() If I add "bg='red'" on the first line, it will not change the border color (white)

11/3/2018 4:08:28 PM


3 Answers

New Answer


Wongvarit its not the pic which have the border


photo=PhotoImage(file="path-to-file") Label(image=photo, bd="0").grid()