Answers for "how to add a img to a tkinter window"

2

how to place image in tkinter

import tkinter 
from PIL import Image, ImageTk

load= Image.open("/Users/omprakash/Desktop/Gmail-new-logo.jpg")
render = ImageTk.PhotoImage(load)
img = Label(root, image=render)
img.place(x=100, y=100)
Posted by: Guest on January-11-2021

Code answers related to "how to add a img to a tkinter window"

Python Answers by Framework

Browse Popular Code Answers by Language