The Graphic size class allows the Width, Height and, (in most cases), the colour depth of a graphic file to be read.
The original class was created by David Crowell, (davidc@qtm.net, http://www.qtm.net/~davidc), although these contacts are no longer active.
The file formats it can detect are:-
.BMP, .JPG, .GIF, .TIF, .PNG, .ICO[1], .PCX, .PSD, .PSB, .TGA[2] and the Adobe group [3], .EPS, .PS and .AI
The class has the following Method and Properties,
MethodReadImageInfo, which reads the image information.
PropertiesImageType, which gives one of the following as the Image type code.
Width,The image width in pixels.
Height,The image height in pixels.
Depth,The colour depth in bits/pixel.