On this page |
Synopsis
iinfo [-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.
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
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