<?php include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; $TOC = array(); $TOC_DEPRECATED = array(); $PARENTS = array(); include_once dirname(__FILE__) ."/toc/class.gmagick.inc"; $setup = array ( 'home' => array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'gmagick.normalizeimage.php', 1 => 'Gmagick::normalizeimage', 2 => 'Enhances the contrast of a color image', ), 'up' => array ( 0 => 'class.gmagick.php', 1 => 'Gmagick', ), 'prev' => array ( 0 => 'gmagick.nextimage.php', 1 => 'Gmagick::nextimage', ), 'next' => array ( 0 => 'gmagick.oilpaintimage.php', 1 => 'Gmagick::oilpaintimage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagick/normalizeimage.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="gmagick.normalizeimage" class="refentry"> <div class="refnamediv"> <h1 class="refname">Gmagick::normalizeimage</h1> <p class="verinfo">(PECL gmagick >= Unknown)</p><p class="refpurpose"><span class="refname">Gmagick::normalizeimage</span> — <span class="dc-title">Enhances the contrast of a color image</span></p> </div> <div class="refsect1 description" id="refsect1-gmagick.normalizeimage-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><strong>Gmagick::normalizeimage</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$channel</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="class.gmagick.php" class="type Gmagick">Gmagick</a></span></div> <p class="para rdfs-comment"> Enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available. </p> </div> <div class="refsect1 parameters" id="refsect1-gmagick.normalizeimage-parameters"> <h3 class="title">参数</h3> <p class="para"> <dl> <dt><code class="parameter">channel</code></dt> <dd> <p class="para"> Identify which channel to normalize. </p> </dd> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-gmagick.normalizeimage-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> The <span class="classname"><a href="class.gmagick.php" class="classname">Gmagick</a></span> object. </p> </div> <div class="refsect1 errors" id="refsect1-gmagick.normalizeimage-errors"> <h3 class="title">错误/异常</h3> <p class="para"> 错误时抛出 <span class="classname"><strong class="classname">GmagickException</strong></span>。 </p> </div> </div><?php manual_footer($setup); ?>