@IMGINFO — Returns information about an image file.

Syntax:
%@IMGINFO[n,filename]

nwhich information to return; see below
filenamethe image file to examine

If filename does not exist, is not an image file, or cannot be read, you’ll get an error message. If you request EXIF data which is not present in the file, @IMGINFO will return the string N/A.


n:Returns:
0image resolution, width × height
1image width (pixels)
2image height (pixels)
3horizontal resolution (DPI)
4vertical resolution (DPI)
5bits per pixel
6image format (string)
EXIF data:
10image orientation
11date and time
12date and time (original)
13date and time (digitized)
14author
15description
16copyright
17software
18camera make
19camera model