Php/docs/imagick.getimageformat

来自菜鸟教程
跳转至:导航、​搜索

Imagick::getImageFormat

(PECL imagick 2, PECL imagick 3)

Imagick::getImageFormatReturns 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。