When you create the image you can specify the size:
image create photo i2 -file <yourGIF.gif> -width 12 -height 28
Then, it seems, you're stuck with it unless you create another image of the same GIF with a different size.
Bob Rashkin
rrashkin@csc.com
You can zoom, shrink, or clip an image in Tcl by copying it to another image object. The copy operation has several options supporting these features. So, simply create a blank image object as the destination, then perform the appropriate copy operation.
You can find more information about this by reading the "photo" reference page in the Tk distribution. An online version of the reference page is available at
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.