image type name
Returns the type of image name (the value of the type argument to image create when the image was created).
See also:
Category Command - Tk syntax help