Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NEWBIE:Image displaying in TCL/TK ?

0 views
Skip to first unread message

Romain Faure

unread,
Feb 13, 1998, 3:00:00 AM2/13/98
to

Hi,
I' m a French TCL/TK Newbie and I wanna know how can I make my program
displaying in its X11 window a picture ? What' s the tag I must add in
my code ?
Which type of pictures are recognized ?
Thanks,
(((((--)))))
-(.)--(.)- >>> NO FUTURE
[()] <<< romain...@hol.fr
-____-

MAXRIVERS

unread,
Feb 15, 1998, 3:00:00 AM2/15/98
to

Bonjour,

Tcl displays GIFs with the command:

image create photo .yourPicName -file FilePath

where FilePath is c:\\pix.gif or whatever (notice that on windows which uses
the backslash you have to double it).

There is also a way to create binary images on the fly, but I don't know how to
do it.

There are also bitmaps (icons) available from inside tcl.

maxr...@aol.com

0 new messages