I want to change png image to gif image using python3.6 how can I do that? i'm making a GUI program with tkinter and i haver to change png to gif image so i can display on my program please help
tk = Tk()
tk.configure(bg = 'white')
tk.title("SearchKeyWord V2.0")
canvas = Canvas(tk,width = 880, height = 550,bd = 0,highlightthickness = 0)
canvas.pack()
txt = Entry(tk)
txt.place(relx = .9,rely = .3,anchor = "c")
LOGO = PhotoImage(file = 'SKW-LOGO.gif')
button_1 = PhotoImage(file = 'button.gif')
button_2 = PhotoImage(file = 'button_news_1d.gif')
button_3 = PhotoImage(file = 'button_news_1w.gif')
button = tkinter.Button(tk,image = button_1,command = search)
button_news_1d = tkinter.Button(tk,image = button_2)
button_news_1w = tkinter.Button(tk,image = button_3)
canvas.create_image(0,0,anchor = NW, image = LOGO)
button.place(relx=.8, rely=.5, anchor="c")
button_news_1d.place(relx =.8,rely = .7, anchor = "c" )
button_news_1w.place(relx =.8,rely = .9, anchor = "c" )
tk.update()
tk.mainloop()