First, read an image from disk
CImageGrey img -this [File PGMRead shape2.pgm]
set res [image create photo img$img]
TransferToPhoto [img cget -this] $res b
canvas .c -background blue .c create image 3 3 -anchor nw -image $res pack .c -fill both -expand true #