Get the information about image file
info = imfinfo(filename)
info
structure is shown as follows:
Field Name | Description |
Filename | String containing the image file name. |
FileSize | Integer indicating the size of the image file in bytes. |
Width | Integer indicating image width in pixels. |
Height | Integer indicating image height in pixels. |
BitDepth | Integer indicating the number of bits per pixel . |
ColorType | String containing the color type of the image file, which can be 'grayscale' or 'truecolor'. |
http://sivp.sf.net