Imagick
在线手册:中文  英文

Imagick::getImageFormat

(PECL imagick 2.0.0)

Imagick::getImageFormatReturns the format of a particular image in a sequence

说明

string Imagick::getImageFormat ( void )

Returns the format of a particular image in a sequence.

返回值

Returns a string containing the image format on success.

错误/异常

错误时抛出 ImagickException。


Imagick
在线手册:中文  英文

用户评论:

orrd101 at yahoo dot com (2013-02-21 00:49:41)

Use Imagick::queryFormats() to get a list of possible format names that might be returned by this function.

易百教程