On this page |
Synopsis ¶
iinfo [-b] [-J] [-v] [-i] [-s] imagefile [imagefile*]
where:
-i
Checks the image file’s integrity. If the file is corrupted in any way, the line: Integrity: File bad will appear in the output. Otherwise, Integrity: File OK will appear. If any of the read files read are bad, iinfo will exit with error status 1; if they are all good, it returns status 0.
-s
Suppresses output. When used in conjunction with the -i option, the exit status can be used in shell scripts to test the integrity of image files.
-b
Print out only basic information about image.
-S
Print out detailed statistics on image data.
-v
Print out verbose information about image for supported formats.
-J
Print out verbose information as JSON.
Description ¶
Displays information about the selected files to standard output.
For Houdini, targa/vista or Wavefront picture files, the information displayed includes:
-
Width and Height (Resolution)
-
X and Y offsets
-
Bytes Per Pixel
-
Format (R8, G8, B8, A8, R8G8B8, or R8G8B8A8)
For alias picture files, the information displayed includes:
-
Width and Height (Resolution)
-
X and Y offsets
-
Number of Bit Planes
Note
In verbose mode, both the data and display windows are printed, otherwise the it’s assumed the origin of the display window is at (0,0). Some formats support arbitrary display window offsets (in addition to data window offsets) and this information can only be properly displayed in verbose mode. Since there are assumptions made when verbose mode is not enabled, the data window information may not match.
Example ¶
!iinfo HeadRender1b.tif Bouguereau.jpeg WebvertImage.gif File: HeadRender1b.tif (TIFF format) Image Count: 1 Resolution: 640 x 395 Data: byte Color Model: rgba Channel Depth: 8 File: Bouguereau.jpeg (JPEG format) Image Count: 1 Resolution: 320 x 197 Data: byte Color Model: rgb Channel Depth: 8 File: WebvertImage.gif (IOTable format) Image Count: 1 Resolution: 468 x 60 Data: byte Color Model: abgr Channel Depth: 8