(PECL imagick 0.9.10-0.9.9)
Imagick::getImageType — Gets the potential image type
Gets the potential image type.
Returns the potential image type.
错误时抛出 ImagickException .
lukeydeluxe at gmail dot com (15-Jan-2009 12:13)
Remember, the result, if successful, is an Array, wich means you should call for example "$var[format]" if you want to know what format the file uses.