@IMGINFO
— Returns information about
an image file.
Syntax:
%@IMGINFO[
n,
filename]
n | which information to return; see below |
filename | the 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: |
0 | image resolution, width × height |
1 | image width (pixels) |
2 | image height (pixels) |
3 | horizontal resolution (DPI) |
4 | vertical resolution (DPI) |
5 | bits per pixel |
6 | image format (string) |
EXIF data: | |
10 | image orientation |
11 | date and time |
12 | date and time (original) |
13 | date and time (digitized) |
14 | author |
15 | description |
16 | copyright |
17 | software |
18 | camera make |
19 | camera model |