+ 3
PYTHON tkinter image
How could I remove the border around the image ? https://www.zupimages.net/up/18/44/2zjw.png 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)
3 ответов
+ 1
Wongvarit its not the pic which have the border
+ 1
photo=PhotoImage(file="path-to-file")
Label(image=photo, bd="0").grid()
0
you might use photoshop to remove border,it is easier way.