You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The transparency methods of tkinter.PhotoImage seem to be missing.
Presumably, they would go something like:
deftransparency_get(self, x, y):
"""Returns a boolean indicating if the pixel at (x,y) is transparent. """returnself.tk.call(self.name, 'transparency', 'get', x, y)
deftransparency_set(self, x, y, boolean=True):
"""Make pixel at (x,y) transparent if boolean is true, opaque otherwise. """self.tk.call(self.name, 'transparency', 'set', x, y, boolean)
New changeset 50866e9 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-25451: Add transparency methods to tkinter.PhotoImage. (GH-10406) 50866e9
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: