[Image-SIG] PhotoImage filename

Stacy Lovell slovell at aptima.com
Fri Feb 4 00:03:27 CET 2005

One can construct a Tkinter PhotoImage from a filename, like so:


name = 'icon.gif'

self.image = PhotoImage(file=name)


However, is it possible to then get the filename used in constructing the
PhotoImage back (using self.image)?








-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20050203/40caa1fa/attachment.html

More information about the Image-SIG mailing list