diff options
Diffstat (limited to 'tests/canvPsImg.tcl')
-rw-r--r-- | tests/canvPsImg.tcl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/canvPsImg.tcl b/tests/canvPsImg.tcl index 30cef31..c06aeaa 100644 --- a/tests/canvPsImg.tcl +++ b/tests/canvPsImg.tcl @@ -67,9 +67,11 @@ foreach l { monochrome gray color } { pack .t.$l -in .t.top.r -anchor w } -set BitmapImage [image create bitmap -file $tk_library/demos/images/face.bmp \ +set BitmapImage [image create bitmap \ + -file [file join [file dirname [info script]] face.xbm] \ -background white -foreground black] -set PhotoImage [image create photo -file $tk_library/demos/images/teapot.ppm] +set PhotoImage [image create photo \ + -file [file join [file dirname [info script]] teapot.ppm]] BuildTestImage |