NAME
img-window - Img, Tk Windows (window)
SYNOPSIS
package require TTkk package require iimmgg::::wwiinnddooww ??11..33?? iimmaaggee ccrreeaattee pphhoottoo ?name? ?options?DESCRIPTION
The package iimmgg::::wwiinnddooww is a sub-package of IImmgg. It can be loaded as a
part of the complete Img support, via ppaacckkaaggee rreeqquuiirree IImmgg, or on its own, via ppaacckkaaggee rreeqquuiirree iimmgg::::wwiinnddooww. Like all packages of IImmgg it does not provide new commands, but extends the existing TTkk command iimmaaggee. More specifically iimmgg::::wwiinnddooww extends TTkk's pphhoottoo image type. The name of the new format handler is wwiinnddooww. This handler does not provide additional configuration options. This handler is special. Instead of reading or writing image data from a file or string it allows the embedding of a Tk widget into the photoimage. In other words, it takes a snapshot of the contents of a Tk win-
dow. All of the above means that in a call like iimmaaggee ccrreeaattee pphhoottoo ?name? ?options?[1] Image data in window format (option -ddaattaa) is detected automati-
cally. Image data is considered to be in the wwiinnddooww format ifthe value given to option -ddaattaa is the name of an existing Tk
window.Note that the standard option -ffiillee is not supported by this
handler.[2] The format name wwiinnddooww is recognized by the option -ffoorrmmaatt.
SEE ALSO
img-bmp, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap,
img-png, img-ppm, img-ps, img-sgi, img-sun, img-tga, img-tiff, img-win-
dow, img-xbm, img-xpm
KKEEYYWWOORRDDSS image handling, tk, window COPYRIGHTCopyright (c) 1995-2003 Jan Nijtmans
Img 1.3 img-window(n)