Overview of Item Types
pathName create image [option value option value ...]There may be any number of option-value pairs, each of which sets one of the configuration options for the item. These same option-value pairs may be used in itemconfigure widget commands to change the item's configuration. The following options are supported for images:
(available only for image item types)
Specifies if and when the image is rendered with dithering. Dithering is a rendering technique that allows closer approximation to the actual image colors, even when the requested colors are not available. Rendering images with dithering is much slower than without, so this option allows control as to when (if at all), dithering is used. dithermode may be any of
nodither
: The image is never rendered with dithering.
dither
: The image is always rendered with dithering.
refinedither
: The image is initially rendered without dithering, and then refined with dithering.
Defaults to refinedither (dither only on refinement).
[48] -image imagetoken
(available only for image item types)
Specifies the image that this item will render. (Also see the
allocimage
and freeimage
commands.)
Generated with Harlequin WebMaker