I am trying to show the image using PIL and Tkinter but the image is not visible. It is occupying the area but the image is not there.
Here is my code and path to image is correct.
loadImage = Image.open(r'E:\Product\RAT\appimages\app_logo_splash.png')
renderImage = ImageTk.PhotoImage(loadImage)
imageLabel = Label(innerFrame, image=renderImage, bg=themeColor)
imageLabel.grid(row=0, column=0)
When I am using this without creating a class then the image is showing but when I am putting this in a class and trying to access this image then the image is not showing
Kindly Help