img-pixmap(3tk) | Img | img-pixmap(3tk) |
img-pixmap - Img, Pixmap Image type (pixmap)
package require Tk
package require img::pixmap ?1.3?
image create pixmap ?name? ?options?
imageName option ?arg arg ...?
imageName cget option
imageName configure ?option? ?value option value ...?
The package img::pixmap is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require Img, or on its own, via package require img::pixmap.
Like all packages of Img it does not provide new commands, but extends the existing Tk command image.
In contrast to all other sub packages this packages does not extend Tk's photo image type, but rather provides a completely new image type, on the same level as photo and bitmap.
Like all images, pixmaps are created using the image create command.
When a pixmap image is created, Tk also creates a new command whose name is the same as the image. This command may be used to invoke various operations on the image. It has the following general form:
Option and the args determine the exact behavior of the command. The following commands are possible for pixmap images:
img-bmp, img-dted, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-raw, img-sgi, img-sun, img-tga, img-tiff, img-window, img-xbm, img-xpm
image handling, pixmap, tk
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.net>
1.3 | img-pixmap |