Gmagick::getimageformat

(PECL gmagick >= Unknown)

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

說明

public Gmagick::getimageformat(): string

Returns the format of a particular image in a sequence.

參數

此函數沒有參數。

返回值

Returns a string containing the image format on success.

錯誤/異常

錯誤時拋出 GmagickException。