image-type-from-file-name

image-type-from-file-name is an autoloaded compiled Lisp function in `image.el'.

(image-type-from-file-name FILE)

Determine the type of image file FILE from its name.
Value is a symbol specifying the image type, or nil if type cannot
be determined.