operation [arg arg...]
Create and manipulate image objects. The image command can take the following forms:
Create a new image of type
type and return its name. The
currently supported image types are
The option-value pairs valid for these types are
described in the individual sections that follow. The
name returned will be
given; otherwise, Tk picks a unique name of the form
imageN. If an image already
exists by the given name, it is replaced with the new
image and any instances of that image will be
A new Tcl command is created with the image's name. This command supports the cget and configure operation for changing and querying the image's configuration options in the same manner as for widgets.
Delete each of the given images. If a widget is using an instance of an image, it won't actually be deleted until all of the instances are released. Existing instances will redisplay as empty areas. If a deleted image is recreated, the existing instances will use the new image.
Return the height, in pixels, of the image
Return a list of all existing images.
Return the type of the image
Return a list of supported image types.
Return the width, in pixels, of image
A bitmap image is represented by a background color, a foreground color, and two X11-format bitmaps, called ...