This is my code:
from tkinter import *
from PIL import ImageTk, Image
root = Tk()
root.configure(background = 'red')
root.geometry("400x480")
img = ImageTk.PhotoImage(Image.open("box.png"))
panel = Label(root, image = img)
panel.pack()
It shows the icon BUT it shows the icon with white lines on the edge:
So is there any way to remove those lines or atleast change the color?
Thank you Flavio Moraes for giving me the answer! using border=0 removes the lines from the image like this
panel = Label(root, image = img, border=0)
again thank you