<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.image.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'image.constants.php',
    1 => '预定义常量',
    2 => '预定义常量',
  ),
  'up' => 
  array (
    0 => 'book.image.php',
    1 => 'GD',
  ),
  'prev' => 
  array (
    0 => 'image.resources.php',
    1 => '资源类型',
  ),
  'next' => 
  array (
    0 => 'image.examples.php',
    1 => '示例',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/image/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="image.constants" class="appendix">
 <h1 class="title">预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <dl>
  
   <dt id="constant.gd-version">
    <strong><code><a href="image.constants.php#constant.gd-version">GD_VERSION</a></code></strong>
    (<span class="type"><a href="language.types.string.php" class="type string">string</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     PHP 编译所依据的 GD 版本。
    </span>
   </dd>
  

  
   <dt id="constant.gd-major-version">
    <strong><code><a href="image.constants.php#constant.gd-major-version">GD_MAJOR_VERSION</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     PHP 编译所依据的 GD 大版本。
    </span>
   </dd>
  

  
   <dt id="constant.gd-minor-version">
    <strong><code><a href="image.constants.php#constant.gd-minor-version">GD_MINOR_VERSION</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     PHP 编译所依据的 GD 小版本。
    </span>
   </dd>
  

  
   <dt id="constant.gd-release-version">
    <strong><code><a href="image.constants.php#constant.gd-release-version">GD_RELEASE_VERSION</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     PHP 编译所依据的 GD 发布版本。
    </span>
   </dd>
  

  
   <dt id="constant.gd-extra-version">
    <strong><code><a href="image.constants.php#constant.gd-extra-version">GD_EXTRA_VERSION</a></code></strong>
    (<span class="type"><a href="language.types.string.php" class="type string">string</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     PHP 编译所依据的 GD 扩展版本（beta/rc..）。
    </span>
   </dd>
  

  
   <dt id="constant.gd-bundled">
    <strong><code><a href="image.constants.php#constant.gd-bundled">GD_BUNDLED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     当使用绑定版本的 GD 时，此值为 1，反之为 0。
    </span>
   </dd>
  
  
  
   <dt id="constant.img-avif">
    <strong><code><a href="image.constants.php#constant.img-avif">IMG_AVIF</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used as a return value by <span class="function"><a href="function.imagetypes.php" class="function">imagetypes()</a></span>
</span>
    <span class="simpara">
     （自 PHP 8.1.0 起可用）
    </span>
   </dd>
  
  
   <dt id="constant.img-bmp">
    <strong><code><a href="image.constants.php#constant.img-bmp">IMG_BMP</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used as a return value by <span class="function"><a href="function.imagetypes.php" class="function">imagetypes()</a></span>
</span>
   </dd>
  
  
   <dt id="constant.img-gif">
    <strong><code><a href="image.constants.php#constant.img-gif">IMG_GIF</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used as a return value by <span class="function"><a href="function.imagetypes.php" class="function">imagetypes()</a></span>
</span>
   </dd>
  
  
   <dt id="constant.img-jpg">
    <strong><code><a href="image.constants.php#constant.img-jpg">IMG_JPG</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used as a return value by <span class="function"><a href="function.imagetypes.php" class="function">imagetypes()</a></span>
</span>
   </dd>
  
  
   <dt id="constant.img-jpeg">
    <strong><code><a href="image.constants.php#constant.img-jpeg">IMG_JPEG</a></code></strong> 
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used as a return value by <span class="function"><a href="function.imagetypes.php" class="function">imagetypes()</a></span>
</span>
    <blockquote class="note"><p><strong class="note">注意</strong>: 
     <p class="para">
      本常量值同 <strong><code><a href="image.constants.php#constant.img-jpg">IMG_JPG</a></code></strong> 
     </p>
    </p></blockquote>
   </dd>
  
  
   <dt id="constant.img-png">
    <strong><code><a href="image.constants.php#constant.img-png">IMG_PNG</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used as a return value by <span class="function"><a href="function.imagetypes.php" class="function">imagetypes()</a></span>
</span>
   </dd>
  
  
   <dt id="constant.img-tga">
    <strong><code><a href="image.constants.php#constant.img-tga">IMG_TGA</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used as a return value by <span class="function"><a href="function.imagetypes.php" class="function">imagetypes()</a></span>
</span>
    <span class="simpara">
     （自 PHP 7.4.0 起可用）
    </span>
   </dd>
  
  
   <dt id="constant.img-wbmp">
    <strong><code><a href="image.constants.php#constant.img-wbmp">IMG_WBMP</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used as a return value by <span class="function"><a href="function.imagetypes.php" class="function">imagetypes()</a></span>
</span>
   </dd>
  
  
   <dt id="constant.img-xpm">
    <strong><code><a href="image.constants.php#constant.img-xpm">IMG_XPM</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used as a return value by <span class="function"><a href="function.imagetypes.php" class="function">imagetypes()</a></span>
</span>
   </dd>
  
  
   <dt id="constant.img-webp">
    <strong><code><a href="image.constants.php#constant.img-webp">IMG_WEBP</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used as a return value by <span class="function"><a href="function.imagetypes.php" class="function">imagetypes()</a></span>
</span>
    <span class="simpara">
     （自 PHP 7.0.10 起可用）
    </span>
   </dd>
  
  
   <dt id="constant.img-webp-lossless">
    <strong><code><a href="image.constants.php#constant.img-webp-lossless">IMG_WEBP_LOSSLESS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     （自 PHP 8.1.0 起可用）
    </span>
   </dd>
  
  
   <dt id="constant.img-color-tiled">
    <strong><code><a href="image.constants.php#constant.img-color-tiled">IMG_COLOR_TILED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special color option which can be used instead of a color allocated with
    <span class="function"><a href="function.imagecolorallocate.php" class="function">imagecolorallocate()</a></span> or
    <span class="function"><a href="function.imagecolorallocatealpha.php" class="function">imagecolorallocatealpha()</a></span>.
</span>
   </dd>
  
  
   <dt id="constant.img-color-styled">
    <strong><code><a href="image.constants.php#constant.img-color-styled">IMG_COLOR_STYLED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special color option which can be used instead of a color allocated with
    <span class="function"><a href="function.imagecolorallocate.php" class="function">imagecolorallocate()</a></span> or
    <span class="function"><a href="function.imagecolorallocatealpha.php" class="function">imagecolorallocatealpha()</a></span>.
</span>
   </dd>
  
  
   <dt id="constant.img-color-brushed">
    <strong><code><a href="image.constants.php#constant.img-color-brushed">IMG_COLOR_BRUSHED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special color option which can be used instead of a color allocated with
    <span class="function"><a href="function.imagecolorallocate.php" class="function">imagecolorallocate()</a></span> or
    <span class="function"><a href="function.imagecolorallocatealpha.php" class="function">imagecolorallocatealpha()</a></span>.
</span>
   </dd>
  
  
   <dt id="constant.img-color-styledbrushed">
    <strong><code><a href="image.constants.php#constant.img-color-styledbrushed">IMG_COLOR_STYLEDBRUSHED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special color option which can be used instead of a color allocated with
    <span class="function"><a href="function.imagecolorallocate.php" class="function">imagecolorallocate()</a></span> or
    <span class="function"><a href="function.imagecolorallocatealpha.php" class="function">imagecolorallocatealpha()</a></span>.
</span>
   </dd>
  
  
   <dt id="constant.img-color-transparent">
    <strong><code><a href="image.constants.php#constant.img-color-transparent">IMG_COLOR_TRANSPARENT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special color option which can be used instead of a color allocated with
    <span class="function"><a href="function.imagecolorallocate.php" class="function">imagecolorallocate()</a></span> or
    <span class="function"><a href="function.imagecolorallocatealpha.php" class="function">imagecolorallocatealpha()</a></span>.
</span>
   </dd>
  
  
   <dt id="constant.img-affine-translate">
    <strong><code><a href="image.constants.php#constant.img-affine-translate">IMG_AFFINE_TRANSLATE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    An affine transformation type constant used by the <span class="function"><a href="function.imageaffinematrixget.php" class="function">imageaffinematrixget()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-affine-scale">
    <strong><code><a href="image.constants.php#constant.img-affine-scale">IMG_AFFINE_SCALE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    An affine transformation type constant used by the <span class="function"><a href="function.imageaffinematrixget.php" class="function">imageaffinematrixget()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-affine-rotate">
    <strong><code><a href="image.constants.php#constant.img-affine-rotate">IMG_AFFINE_ROTATE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    An affine transformation type constant used by the <span class="function"><a href="function.imageaffinematrixget.php" class="function">imageaffinematrixget()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-affine-shear-horizontal">
    <strong><code><a href="image.constants.php#constant.img-affine-shear-horizontal">IMG_AFFINE_SHEAR_HORIZONTAL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    An affine transformation type constant used by the <span class="function"><a href="function.imageaffinematrixget.php" class="function">imageaffinematrixget()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-affine-shear-vertical">
    <strong><code><a href="image.constants.php#constant.img-affine-shear-vertical">IMG_AFFINE_SHEAR_VERTICAL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    An affine transformation type constant used by the <span class="function"><a href="function.imageaffinematrixget.php" class="function">imageaffinematrixget()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-arc-rounded">
    <strong><code><a href="image.constants.php#constant.img-arc-rounded">IMG_ARC_ROUNDED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A style constant used by the <span class="function"><a href="function.imagefilledarc.php" class="function">imagefilledarc()</a></span> function.
</span>
    <blockquote class="note"><p><strong class="note">注意</strong>: 
     <p class="para">
      此常量值同 <strong><code><a href="image.constants.php#constant.img-arc-pie">IMG_ARC_PIE</a></code></strong>
     </p>
    </p></blockquote>
   </dd>
  
  
   <dt id="constant.img-arc-pie">
    <strong><code><a href="image.constants.php#constant.img-arc-pie">IMG_ARC_PIE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A style constant used by the <span class="function"><a href="function.imagefilledarc.php" class="function">imagefilledarc()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-arc-chord">
    <strong><code><a href="image.constants.php#constant.img-arc-chord">IMG_ARC_CHORD</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A style constant used by the <span class="function"><a href="function.imagefilledarc.php" class="function">imagefilledarc()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-arc-nofill">
    <strong><code><a href="image.constants.php#constant.img-arc-nofill">IMG_ARC_NOFILL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A style constant used by the <span class="function"><a href="function.imagefilledarc.php" class="function">imagefilledarc()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-arc-edged">
    <strong><code><a href="image.constants.php#constant.img-arc-edged">IMG_ARC_EDGED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A style constant used by the <span class="function"><a href="function.imagefilledarc.php" class="function">imagefilledarc()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-gd2-raw">
    <strong><code><a href="image.constants.php#constant.img-gd2-raw">IMG_GD2_RAW</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A type constant used by the <span class="function"><a href="function.imagegd2.php" class="function">imagegd2()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-gd2-compressed">
    <strong><code><a href="image.constants.php#constant.img-gd2-compressed">IMG_GD2_COMPRESSED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A type constant used by the <span class="function"><a href="function.imagegd2.php" class="function">imagegd2()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-effect-replace">
    <strong><code><a href="image.constants.php#constant.img-effect-replace">IMG_EFFECT_REPLACE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Alpha blending effect used by the <span class="function"><a href="function.imagelayereffect.php" class="function">imagelayereffect()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-effect-alphablend">
    <strong><code><a href="image.constants.php#constant.img-effect-alphablend">IMG_EFFECT_ALPHABLEND</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Alpha blending effect used by the <span class="function"><a href="function.imagelayereffect.php" class="function">imagelayereffect()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-effect-normal">
    <strong><code><a href="image.constants.php#constant.img-effect-normal">IMG_EFFECT_NORMAL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Alpha blending effect used by the <span class="function"><a href="function.imagelayereffect.php" class="function">imagelayereffect()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-effect-overlay">
    <strong><code><a href="image.constants.php#constant.img-effect-overlay">IMG_EFFECT_OVERLAY</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Alpha blending effect used by the <span class="function"><a href="function.imagelayereffect.php" class="function">imagelayereffect()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-effect-multiply">
    <strong><code><a href="image.constants.php#constant.img-effect-multiply">IMG_EFFECT_MULTIPLY</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Alpha blending effect used by the <span class="function"><a href="function.imagelayereffect.php" class="function">imagelayereffect()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-negate">
    <strong><code><a href="image.constants.php#constant.img-filter-negate">IMG_FILTER_NEGATE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-grayscale">
    <strong><code><a href="image.constants.php#constant.img-filter-grayscale">IMG_FILTER_GRAYSCALE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-brightness">
    <strong><code><a href="image.constants.php#constant.img-filter-brightness">IMG_FILTER_BRIGHTNESS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-contrast">
    <strong><code><a href="image.constants.php#constant.img-filter-contrast">IMG_FILTER_CONTRAST</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-colorize">
    <strong><code><a href="image.constants.php#constant.img-filter-colorize">IMG_FILTER_COLORIZE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-edgedetect">
    <strong><code><a href="image.constants.php#constant.img-filter-edgedetect">IMG_FILTER_EDGEDETECT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-gaussian-blur">
    <strong><code><a href="image.constants.php#constant.img-filter-gaussian-blur">IMG_FILTER_GAUSSIAN_BLUR</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-selective-blur">
    <strong><code><a href="image.constants.php#constant.img-filter-selective-blur">IMG_FILTER_SELECTIVE_BLUR</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-emboss">
    <strong><code><a href="image.constants.php#constant.img-filter-emboss">IMG_FILTER_EMBOSS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-mean-removal">
    <strong><code><a href="image.constants.php#constant.img-filter-mean-removal">IMG_FILTER_MEAN_REMOVAL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-smooth">
    <strong><code><a href="image.constants.php#constant.img-filter-smooth">IMG_FILTER_SMOOTH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-pixelate">
    <strong><code><a href="image.constants.php#constant.img-filter-pixelate">IMG_FILTER_PIXELATE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.img-filter-scatter">
    <strong><code><a href="image.constants.php#constant.img-filter-scatter">IMG_FILTER_SCATTER</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Special GD filter used by the <span class="function"><a href="function.imagefilter.php" class="function">imagefilter()</a></span> function.
</span>
    <span class="simpara">
        （自 PHP 7.4.0 版本可用）
    </span>
   </dd>
  
  
   <dt id="constant.imagetype-gif">
    <strong><code><a href="image.constants.php#constant.imagetype-gif">IMAGETYPE_GIF</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-jpeg">
    <strong><code><a href="image.constants.php#constant.imagetype-jpeg">IMAGETYPE_JPEG</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-jpeg2000">
    <strong><code><a href="image.constants.php#constant.imagetype-jpeg2000">IMAGETYPE_JPEG2000</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-png">
    <strong><code><a href="image.constants.php#constant.imagetype-png">IMAGETYPE_PNG</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-swf">
    <strong><code><a href="image.constants.php#constant.imagetype-swf">IMAGETYPE_SWF</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-psd">
    <strong><code><a href="image.constants.php#constant.imagetype-psd">IMAGETYPE_PSD</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-bmp">
    <strong><code><a href="image.constants.php#constant.imagetype-bmp">IMAGETYPE_BMP</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-wbmp">
    <strong><code><a href="image.constants.php#constant.imagetype-wbmp">IMAGETYPE_WBMP</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-xbm">
    <strong><code><a href="image.constants.php#constant.imagetype-xbm">IMAGETYPE_XBM</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-tiff-ii">
    <strong><code><a href="image.constants.php#constant.imagetype-tiff-ii">IMAGETYPE_TIFF_II</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-tiff-mm">
    <strong><code><a href="image.constants.php#constant.imagetype-tiff-mm">IMAGETYPE_TIFF_MM</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-iff">
    <strong><code><a href="image.constants.php#constant.imagetype-iff">IMAGETYPE_IFF</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-jb2">
    <strong><code><a href="image.constants.php#constant.imagetype-jb2">IMAGETYPE_JB2</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-jpc">
    <strong><code><a href="image.constants.php#constant.imagetype-jpc">IMAGETYPE_JPC</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-jp2">
    <strong><code><a href="image.constants.php#constant.imagetype-jp2">IMAGETYPE_JP2</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-jpx">
    <strong><code><a href="image.constants.php#constant.imagetype-jpx">IMAGETYPE_JPX</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-swc">
    <strong><code><a href="image.constants.php#constant.imagetype-swc">IMAGETYPE_SWC</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-ico">
    <strong><code><a href="image.constants.php#constant.imagetype-ico">IMAGETYPE_ICO</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-webp">
    <strong><code><a href="image.constants.php#constant.imagetype-webp">IMAGETYPE_WEBP</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
    <span class="simpara">
     (从 PHP 7.1.0 开始支持)
    </span>
   </dd>
  
  
   <dt id="constant.imagetype-avif">
    <strong><code><a href="image.constants.php#constant.imagetype-avif">IMAGETYPE_AVIF</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
    <span class="simpara">
     （自 PHP 8.1.0 起可用）
    </span>
   </dd>
  
  
   <dt id="constant.imagetype-unknown">
    <strong><code><a href="image.constants.php#constant.imagetype-unknown">IMAGETYPE_UNKNOWN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Image type constant used by the <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span>
    and <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span> functions.
</span>
   </dd>
  
  
   <dt id="constant.imagetype-count">
    <strong><code><a href="image.constants.php#constant.imagetype-count">IMAGETYPE_COUNT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     可用于 <span class="function"><a href="function.image-type-to-mime-type.php" class="function">image_type_to_mime_type()</a></span> 和 <span class="function"><a href="function.image-type-to-extension.php" class="function">image_type_to_extension()</a></span>
     函数的图像类型常量编号（包括 unknown 类型）。
    </span>
   </dd>
  
  
   <dt id="constant.png-no-filter">
    <strong><code><a href="image.constants.php#constant.png-no-filter">PNG_NO_FILTER</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A special PNG filter, used by the <span class="function"><a href="function.imagepng.php" class="function">imagepng()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.png-filter-none">
    <strong><code><a href="image.constants.php#constant.png-filter-none">PNG_FILTER_NONE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A special PNG filter, used by the <span class="function"><a href="function.imagepng.php" class="function">imagepng()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.png-filter-sub">
    <strong><code><a href="image.constants.php#constant.png-filter-sub">PNG_FILTER_SUB</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A special PNG filter, used by the <span class="function"><a href="function.imagepng.php" class="function">imagepng()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.png-filter-up">
    <strong><code><a href="image.constants.php#constant.png-filter-up">PNG_FILTER_UP</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A special PNG filter, used by the <span class="function"><a href="function.imagepng.php" class="function">imagepng()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.png-filter-avg">
    <strong><code><a href="image.constants.php#constant.png-filter-avg">PNG_FILTER_AVG</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A special PNG filter, used by the <span class="function"><a href="function.imagepng.php" class="function">imagepng()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.png-filter-paeth">
    <strong><code><a href="image.constants.php#constant.png-filter-paeth">PNG_FILTER_PAETH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A special PNG filter, used by the <span class="function"><a href="function.imagepng.php" class="function">imagepng()</a></span> function.
</span>
   </dd>
  
  
   <dt id="constant.png-all-filters">
    <strong><code><a href="image.constants.php#constant.png-all-filters">PNG_ALL_FILTERS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    A special PNG filter, used by the <span class="function"><a href="function.imagepng.php" class="function">imagepng()</a></span> function.
</span>
   </dd>
  

  
   <dt id="constant.img-flip-vertical">
    <strong><code><a href="image.constants.php#constant.img-flip-vertical">IMG_FLIP_VERTICAL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imageflip.php" class="function">imageflip()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-flip-horizontal">
    <strong><code><a href="image.constants.php#constant.img-flip-horizontal">IMG_FLIP_HORIZONTAL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imageflip.php" class="function">imageflip()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-flip-both">
    <strong><code><a href="image.constants.php#constant.img-flip-both">IMG_FLIP_BOTH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imageflip.php" class="function">imageflip()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-bell">
    <strong><code><a href="image.constants.php#constant.img-bell">IMG_BELL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-bessel">
    <strong><code><a href="image.constants.php#constant.img-bessel">IMG_BESSEL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-bilinear-fixed">
    <strong><code><a href="image.constants.php#constant.img-bilinear-fixed">IMG_BILINEAR_FIXED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-bicubic">
    <strong><code><a href="image.constants.php#constant.img-bicubic">IMG_BICUBIC</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-bicubic-fixed">
    <strong><code><a href="image.constants.php#constant.img-bicubic">IMG_BICUBIC</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-blackman">
    <strong><code><a href="image.constants.php#constant.img-blackman">IMG_BLACKMAN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-box">
    <strong><code><a href="image.constants.php#constant.img-box">IMG_BOX</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-bspline">
    <strong><code><a href="image.constants.php#constant.img-bspline">IMG_BSPLINE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-catmullrom">
    <strong><code><a href="image.constants.php#constant.img-catmullrom">IMG_CATMULLROM</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-gaussian">
    <strong><code><a href="image.constants.php#constant.img-gaussian">IMG_GAUSSIAN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-generalized-cubic">
    <strong><code><a href="image.constants.php#constant.img-generalized-cubic">IMG_GENERALIZED_CUBIC</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-hermite">
    <strong><code><a href="image.constants.php#constant.img-hermite">IMG_HERMITE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-hamming">
    <strong><code><a href="image.constants.php#constant.img-hamming">IMG_HAMMING</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-hanning">
    <strong><code><a href="image.constants.php#constant.img-hanning">IMG_HANNING</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-mitchell">
    <strong><code><a href="image.constants.php#constant.img-mitchell">IMG_MITCHELL</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-power">
    <strong><code><a href="image.constants.php#constant.img-power">IMG_POWER</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-quadratic">
    <strong><code><a href="image.constants.php#constant.img-quadratic">IMG_QUADRATIC</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-sinc">
    <strong><code><a href="image.constants.php#constant.img-sinc">IMG_SINC</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-nearest-neighbour">
    <strong><code><a href="image.constants.php#constant.img-nearest-neighbour">IMG_NEAREST_NEIGHBOUR</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-weighted4">
    <strong><code><a href="image.constants.php#constant.img-weighted4">IMG_WEIGHTED4</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  

  
   <dt id="constant.img-triangle">
    <strong><code><a href="image.constants.php#constant.img-triangle">IMG_TRIANGLE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
    Used together with <span class="function"><a href="function.imagesetinterpolation.php" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
</span>
   </dd>
  
  
   <dt id="constant.img-crop-black">
    <strong><code><a href="image.constants.php#constant.img-crop-black">IMG_CROP_BLACK</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     裁剪出黑色背景。
    </span>
   </dd>
  
  
   <dt id="constant.img-crop-default">
    <strong><code><a href="image.constants.php#constant.img-crop-default">IMG_CROP_DEFAULT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     等同于 <strong><code><a href="image.constants.php#constant.img-crop-transparent">IMG_CROP_TRANSPARENT</a></code></strong>。在 PHP 7.4.0 之前，如果图像没有透明色，则捆绑的
     libgd 将恢复为 <strong><code><a href="image.constants.php#constant.img-crop-sides">IMG_CROP_SIDES</a></code></strong>。
    </span>
   </dd>
  
  
   <dt id="constant.img-crop-sides">
    <strong><code><a href="image.constants.php#constant.img-crop-sides">IMG_CROP_SIDES</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     使用图像的 4 个角尝试检测要裁剪的背景。
    </span>
   </dd>
  
  
   <dt id="constant.img-crop-threshold">
    <strong><code><a href="image.constants.php#constant.img-crop-threshold">IMG_CROP_THRESHOLD</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     使用指定 <code class="parameter">threshold</code> 和 <code class="parameter">color</code>
     裁切图片。
    </span>
   </dd>
  
  
   <dt id="constant.img-crop-transparent">
    <strong><code><a href="image.constants.php#constant.img-crop-transparent">IMG_CROP_TRANSPARENT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     裁剪出透明背景。
    </span>
   </dd>
  
  
   <dt id="constant.img-crop-white">
    <strong><code><a href="image.constants.php#constant.img-crop-white">IMG_CROP_WHITE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     裁剪出白色背景。
    </span>
   </dd>
  
 </dl>
</div>
<?php manual_footer($setup); ?>