Imagick::getFormat

(PECL imagick 2, PECL imagick 3)

Imagick::getFormatReturns the format of the Imagick object

說明

public Imagick::getFormat(): string

Returns the format of the Imagick object.

參數

此函數沒有參數。

返回值

Returns the format of the image.

錯誤/異常

錯誤時拋出 ImagickException。