From: Michael Norton <mnorton@ci...> - 2003-11-18 22:12:42
How can I performing blitting operations using Tcl Batteries included? Can
I blit gif or jpeg to a canvas? Will I be limited to X pixmaps?
Any good pointers to discussions on doing this in Tcl?
From: Daniel A. Steffen <steffen@ic...> - 2003-11-18 22:38:43
On Wednesday, Nov 19, 2003, at 09:11 Australia/Sydney, Michael Norton
> How can I performing blitting operations using Tcl Batteries included?
> Can I blit gif or jpeg to a canvas? Will I be limited to X pixmaps?
not sure exactly what you need, gif is supported by Tk natively, c.f.
image viewing sample in the widget demo
% source $tk_library/demos/widget
for other image times, use tkimg
which supports many image formats:
bmp gif ico jpeg pcx pixmap png ppm ps sgi sun tga tiff xbm xpm
** Daniel A. Steffen ** "And now for something completely
** Dept. of Mathematics ** different" Monty Python
** Macquarie University ** <mailto:steffen@...>
** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/>