1
I appreciate this is a VERY novice question but I just want to check in regard to Tkinter Photoimage class, is it only GIF/PGM/PPM images that it can read from files and nothing else unless I download the Python Image Library.
If thats the case I now know exactly where I went wrong in the code I’m writing. IE: wrong file format
asked Aug 1, 2015 at 13:50
1
1
Well, that’s what the docs say. But it’s very easy to read other formats using [ImageTk.PhotoImage](http://pillow.readthedocs.org/en/latest/reference/ImageTk.html#PIL.ImageTk.PhotoIm…
1
I appreciate this is a VERY novice question but I just want to check in regard to Tkinter Photoimage class, is it only GIF/PGM/PPM images that it can read from files and nothing else unless I download the Python Image Library.
If thats the case I now know exactly where I went wrong in the code I’m writing. IE: wrong file format
asked Aug 1, 2015 at 13:50
1
1
Well, that’s what the docs say. But it’s very easy to read other formats using ImageTk.PhotoImage from PIL/Pillow - see this answer for an example that uses PNG images.
2015-08-01 14:14:23 +00:00
Commented Aug 1, 2015 at 14:14