Imagick::getImageFormat
(PECL imagick 2, PECL imagick 3)
Imagick::getImageFormat — Returns the format of a particular image in a sequence
说明
public Imagick::getImageFormat(): string
Returns the format of a particular image in a sequence.
参数
此函数没有参数。
返回值
Returns a string containing the image format on success.
错误/异常
错误时抛出 ImagickException。

User Contributed Notes 1 note
orrd101 at yahoo dot com ¶
9 years ago
Use Imagick::queryFormats() to get a list of possible format names that might be returned by this function.
备份地址:http://www.lvesu.com/blog/php/imagick.getimageformat.php