Gmagick
PHP 手册

Gmagick::getimageformat

(PECL gmagick >= Unknown)

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

说明

public void Gmagick::getimageformat ( void )

Returns the format of a particular image in a sequence.

参数

This function has no parameters.

返回值

Returns a string containing the image format on success.

错误/异常

Throws an GmagickException on error.


Gmagick
PHP 手册