I have been doing lots of little tasks in Python to continue learning it and I got to GUIs In python via this code:
from tkinter import *
count = 0
def click():
global count
count += 1
print("You have clicked the button "+str(count)+" Times")
Window = Tk()
Photo = PhotoImage(file="Pig2.png")
Like_Button = PhotoImage(file="Like-Button2.png")
Window.geometry("600x600")
Window.title("The Ultimate GUI Program")
Icon = PhotoImage(file="AngryBird.png")
Window.iconphoto(True,Icon)
button = Button(Window,
text="Click me",
command=click,
font=("Comic Sans,",10,"bold"),
fg="Red",
bg="black",
activeforeground="Red",
activebackground="black",
image=Like_Button,
compound="bottom")
button.place(x=50,y=50)
Window.config(background="white")
Label = Label(Window,
text="You are using the best program ever!",
font=("Arial",10,"bold"),
fg="red",
bg="white",relief=RAISED,bd=10,
padx=10,
pady=10,image=Photo,
compound="bottom")
Label.place(x=170,y=170) # -Placing the image in a specifed place
Window.mainloop() # - Displays the window on the computer screen
However when using this code to create this a very simple GUI program it makes my icon in the corner of the window very pixelated compared to the icon in the taskbar.
How can I fix this?
My Image dimensions are 50 X 50 and the format of the file is png
Here is what my program looks like:

Here is what it looks like on the taskbar:

I have to fill in the part saying what I tried however except for trying to look up how to fix this I don't know what else to try myself.