I'm developing an application with Tkinter that uses a database of png
image files for icons. In order to use said images in the application, I open them using PIL's Image.open
, run it through the ImageTk.PhotoImage
function, then pass it to the widget constructor.
The problem is, I'm trying to port my entire project over to Python 3.x, and because of PIL's lack of support for Python 3, I have no idea how to load the icons into the application.
If anyone knew of a solution that would allow me to use the icons without having to convert all of them to .gif
bitmaps, I would be very grateful!