self.loadimage = tk.PhotoImage(file="rounded_button.png") self.roundedbutton = tk.Button(self, image=self.loadimage) self.roundedbutton["bg"] = "white" self.roundedbutton["border"] = "0" self.roundedbutton.pack(side="top")