in reply to Re^15: Tk:Photo -data with binary data?
in thread Tk:Photo -data with binary data?
I am user of Tcl/Tk, who happen to use it indirectly (from Perl). I am maintainer of Tcl::Tk,
Then you presumably have enough understanding of how these components fit together and work, and have an existing installation that would have allowed you to write and test that this actually worked:
#!/usr/bin/wish package require Img set fdata [read [open "/test/colorcube.png"]] label .l1 -image [image create photo -format png -data $fdata] pack .l1
Before suggesting Tcl::Tk as a solution?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^17: Tk:Photo -data with binary data?
by vkon (Curate) on Jun 08, 2007 at 08:42 UTC |