[Image-SIG] Does the ImageTk.PhotoImage support alpha channels?

Fredrik Lundh fredrik at pythonware.com
Fri Jan 7 16:19:52 CET 2011


2010/12/20  <python at bdurham.com>:
> Does the ImageTk.PhotoImage support alpha channels? If not, are there
> any plans to add support for this feature or is the lack of this
> functionality a limitation of Tkinter?

Yes, RGBA images are supported.  In versions before 8.4, the A layer
is handled as a mask, not a true alpha layer, but later versions
should handle it correctly.

</F>


More information about the Image-SIG mailing list