Python Forum
[Tkinter] PhotoImage and Jpeg images.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] PhotoImage and Jpeg images.
#3
I don't believe that your suggested reason is a good reason at all. The problem is not that two lines of code need are needed but that a user needs to realize the requirement and to put in the lines repeatedly. It takes a fair amount of time to comb the skimpy documentation to find the requirement. Multiply the inconvenience by the number of users and it adds up; it's not a matter of refusing to install PIL, it is an annoyance particularly when one is learning Tkinter and probably Tk. The Tk folks thought it useful enough to include and I am glad they did. I hope the Tkinter maintainers are not satisfied with a partial interface to Tk.

Pushing the argument about duplicating functionality would lead to the complete removal of PhotoImage since it could be entirely replaced by PIL. I think that is the case but I cannot find definitive documentation of PhotoImage.

A very canny programmer I knew maintained that "The hallmark a good tool is that it be a delight to use". When PhotoImage doesn't handle a most common case it fails that criteria. And it impacts the building of tools based on Tkinter.

How does one make a feature request or bug report?
Reply


Messages In This Thread
PhotoImage and Jpeg images. - by rozen - Jan-06-2018, 10:06 PM
RE: PhotoImage and Jpeg images. - by Gribouillis - Jan-06-2018, 11:59 PM
RE: PhotoImage and Jpeg images. - by rozen - Jan-07-2018, 06:34 AM
RE: PhotoImage and Jpeg images. - by Gribouillis - Jan-07-2018, 08:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  question on tkinter canvas PhotoImage gr3yali3n 1 2,240 Sep-05-2020, 12:18 PM
Last Post: Larz60+
  Get the parent label of a ImageTk.PhotoImage delphinis 1 2,573 Aug-02-2020, 03:21 PM
Last Post: deanhystad
  Gif with PhotoImage Friend 3 5,444 Jul-23-2019, 10:23 PM
Last Post: Friend
  Move PhotoImage dan789 2 2,806 Dec-19-2018, 06:00 PM
Last Post: dan789
  [Tkinter] createing a tkinter photoimage from array in python3 pootle 2 17,213 Oct-18-2016, 09:28 AM
Last Post: pootle

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020