Gmagick
PHP Manual

Gmagick::getimageformat

(PECL gmagick >= Unknown)

Gmagick::getimageformatReturns the format of a particular image in a sequence

说明

public string Gmagick::getimageformat ( void )

Returns the format of a particular image in a sequence.

参数

此函数没有参数。

返回值

Returns a string containing the image format on success.

错误/异常

错误时抛出 GmagickException


Gmagick
PHP Manual