>
> sorry, what I completely forgot to mention about TkImg is that of course
> after installing the dlls your program has to tell the Tcl/Tk Interpreter
> to use it. The magic line for that in Tcl is:
>
>     package require Img
>
> In Python / Tkinter this can be accomplished with a single line, too, as
> in this snippet (note the third line):
>
> from tkinter import *
> root = Tk()
> root.tk.call('package', 'require', 'Img')
> img = PhotoImage(file='imagepath.jpg')
> l = Label(root, image=img)
> l.pack()
> root.mainloop()
>
> So in case you did not try this already, there may still be hope.
>
sorry that last email was sent directly by mistake. The above code has
fixed my issues and i am very happy right now:)
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to