beetlebug▾
/

image type

Gives the type of an image: photo or bitmap.

image type NAME

Description

Gives the type of image create for the image.

Returns

photo or bitmap.

Examples

% image create bitmap b
> image type b
bitmap

Errors

% image type nope
image "nope" doesn't exist
-errorcode NONE

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1

See also