Silentkiller
Technical User
Hi!
How can i display a *.pgm image i called, using canvas function. I'm new to Tcl/Tk.
Thankx
How can i display a *.pgm image i called, using canvas function. I'm new to Tcl/Tk.
Thankx
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
set img [image create photo -file myImg.pgm]
canvas .c
pack .c -expand yes -fill both
.c create image 10 10 -anchor nw -image $img