Using Tcl extensions with Python?

C Martin g.threepwood at gmail.com
Fri Jul 18 11:48:50 EDT 2008


On Jul 17, 5:18 pm, "Guilherme Polo" <ggp... at gmail.com> wrote:
[snip]
> And.. for tkpng specifically, you won't need tk.call to use it, you
> just need to create your images using Tkinter.PhotoImage with a "png"
> type.

Thank you Guilherme, that's all great info.

> Thomas Troeger <thomas.troeger.... at siemens.com> wrote:
> ARGH, Tcl!!! ;-) I know that's not the question, but do you know PIL
> (http://www.pythonware.com/products/pil)?

Yes, I know about PIL. However, I need use PNGs with a full alpha
channel. PIL only seems support simple transparency, whereas TkPNG
seems to work as expected with them. If I am incorrect in this, then
please let me know how to use it!

Thanks.



More information about the Python-list mailing list