<?php include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; $TOC = array(); $TOC_DEPRECATED = array(); $PARENTS = array(); include_once dirname(__FILE__) ."/toc/class.imagick.inc"; $setup = array ( 'home' => array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'imagick.getimageformat.php', 1 => 'Imagick::getImageFormat', 2 => 'Returns the format of a particular image in a sequence', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.getimagefilename.php', 1 => 'Imagick::getImageFilename', ), 'next' => array ( 0 => 'imagick.getimagegamma.php', 1 => 'Imagick::getImageGamma', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/getimageformat.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="imagick.getimageformat" class="refentry"> <div class="refnamediv"> <h1 class="refname">Imagick::getImageFormat</h1> <p class="verinfo">(PECL imagick 2, PECL imagick 3)</p><p class="refpurpose"><span class="refname">Imagick::getImageFormat</span> — <span class="dc-title">Returns the format of a particular image in a sequence</span></p> </div> <div class="refsect1 description" id="refsect1-imagick.getimageformat-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>Imagick::getImageFormat</strong></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div> <p class="para rdfs-comment"> Returns the format of a particular image in a sequence. </p> </div> <div class="refsect1 parameters" id="refsect1-imagick.getimageformat-parameters"> <h3 class="title">参数</h3> <p class="para">此函数没有参数。</p> </div> <div class="refsect1 returnvalues" id="refsect1-imagick.getimageformat-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> Returns a string containing the image format on success. </p> </div> <div class="refsect1 errors" id="refsect1-imagick.getimageformat-errors"> <h3 class="title">错误/异常</h3> <p class="para"> 错误时抛出 ImagickException。 </p> </div> </div><?php manual_footer($setup); ?>