array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'gmagick.getimageformat.php', 1 => 'Gmagick::getimageformat', 2 => 'Returns the format of a particular image in a sequence', ), 'up' => array ( 0 => 'class.gmagick.php', 1 => 'Gmagick', ), 'prev' => array ( 0 => 'gmagick.getimagefilename.php', 1 => 'Gmagick::getimagefilename', ), 'next' => array ( 0 => 'gmagick.getimagegamma.php', 1 => 'Gmagick::getimagegamma', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagick/getimageformat.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

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