So I have 2 images, 1 image is supposed to be the background and the other 1 is just an image of a character. I am able to put one image over the other but the image has white borders even though it's a PNG file.
This is how I want it to look like:
Here are the two separte images: https://i.stack.imgur.com/DX7N6.jpg Sorry that I didnt post the images directly but I can not since I do no have 10 reputation points.
I've tried converting it to RGBA but same thing happened.
from tkinter import *
from PIL import Image
root = Tk()
root.title("Game")
background = PhotoImage(file="back.png")
backgroundlabel = Label(root, image=background)
backgroundlabel.pack()
character = PhotoImage(file="hero.png")
characterlabel = Label(root, image=character)
characterlabel.place(x=0,y=0)
root.mainloop()