Imagick
PHP Manual

Imagick::getImageType

(PECL imagick 0.9.10-0.9.9)

Imagick::getImageTypeGets the potential image type

说明

int Imagick::getImageType ( void )

Gets the potential image type.

返回值

Returns the potential image type.

错误/异常

错误时抛出 ImagickException .


Imagick
PHP Manual