Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 7590

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Predefined Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="image.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="image.examples.html">Examples</a></div>
 <div class="up"><a href="book.image.html">GD</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="image.constants" class="appendix">
 <h1>Predefined Constants</h1>

 <p class="simpara">
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
</p>
 <dl>

  <dt id="constant.gd-version">
   <span class="term">
    <strong><code>GD_VERSION</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     The GD version PHP was compiled against.
     (Available as of PHP 5.2.4)
    </span>
   </dd>

  </dt>


  <dt id="constant.gd-major-version">
   <span class="term">
    <strong><code>GD_MAJOR_VERSION</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     The GD major version PHP was compiled against.
     (Available as of PHP 5.2.4)
    </span>
   </dd>

  </dt>


  <dt id="constant.gd-minor-version">
   <span class="term">
    <strong><code>GD_MINOR_VERSION</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     The GD minor version PHP was compiled against.
     (Available as of PHP 5.2.4)
    </span>
   </dd>

  </dt>


  <dt id="constant.gd-release-version">
   <span class="term">
    <strong><code>GD_RELEASE_VERSION</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     The GD release version PHP was compiled against.
     (Available as of PHP 5.2.4)
    </span>
   </dd>

  </dt>


  <dt id="constant.gd-extra-version">
   <span class="term">
    <strong><code>GD_EXTRA_VERSION</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     The GD &quot;extra&quot; version (beta/rc..) PHP was compiled against.
     (Available as of PHP 5.2.4)
    </span>
   </dd>

  </dt>


  <dt id="constant.gd-bundled">
   <span class="term">
    <strong><code>GD_BUNDLED</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     When the bundled version of GD is used this is 1 otherwise 
     its set to 0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-gif">
   <span class="term">
    <strong><code>IMG_GIF</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used as a return value by  <span class="function"><a href="function.imagetypes.html" class="function">imagetypes()</a></span>
    </span>
   </dd>

  </dt>

  <dt id="constant.img-jpg">
   <span class="term">
    <strong><code>IMG_JPG</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used as a return value by  <span class="function"><a href="function.imagetypes.html" class="function">imagetypes()</a></span>
    </span>
   </dd>

  </dt>

  <dt id="constant.img-jpeg">
   <span class="term">
    <strong><code>IMG_JPEG</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used as a return value by  <span class="function"><a href="function.imagetypes.html" class="function">imagetypes()</a></span>
    </span>
    <blockquote class="note"><p><strong class="note">Note</strong>: 
     <p class="para">
      This constant has the same value as <strong><code>IMG_JPG</code></strong>
     </p>
    </p></blockquote>
   </dd>

  </dt>

  <dt id="constant.img-png">
   <span class="term">
    <strong><code>IMG_PNG</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used as a return value by  <span class="function"><a href="function.imagetypes.html" class="function">imagetypes()</a></span>
    </span>
   </dd>

  </dt>

  <dt id="constant.img-wbmp">
   <span class="term">
    <strong><code>IMG_WBMP</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used as a return value by  <span class="function"><a href="function.imagetypes.html" class="function">imagetypes()</a></span>
    </span>
   </dd>

  </dt>

  <dt id="constant.img-xpm">
   <span class="term">
    <strong><code>IMG_XPM</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used as a return value by  <span class="function"><a href="function.imagetypes.html" class="function">imagetypes()</a></span>
    </span>
   </dd>

  </dt>

  <dt id="constant.img-color-tiled">
   <span class="term">
    <strong><code>IMG_COLOR_TILED</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special color option which can be used in stead of color allocated with
      <span class="function"><a href="function.imagecolorallocate.html" class="function">imagecolorallocate()</a></span> or
      <span class="function"><a href="function.imagecolorallocatealpha.html" class="function">imagecolorallocatealpha()</a></span>
    </span>
   </dd>

  </dt>

  <dt id="constant.img-color-styled">
   <span class="term">
    <strong><code>IMG_COLOR_STYLED</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special color option which can be used in stead of color allocated with
      <span class="function"><a href="function.imagecolorallocate.html" class="function">imagecolorallocate()</a></span> or
      <span class="function"><a href="function.imagecolorallocatealpha.html" class="function">imagecolorallocatealpha()</a></span>
    </span>
   </dd>

  </dt>

  <dt id="constant.img-color-brushed">
   <span class="term">
    <strong><code>IMG_COLOR_BRUSHED</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special color option which can be used in stead of color allocated with
      <span class="function"><a href="function.imagecolorallocate.html" class="function">imagecolorallocate()</a></span> or
      <span class="function"><a href="function.imagecolorallocatealpha.html" class="function">imagecolorallocatealpha()</a></span>
    </span>
   </dd>

  </dt>

  <dt id="constant.img-color-styledbrushed">
   <span class="term">
    <strong><code>IMG_COLOR_STYLEDBRUSHED</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special color option which can be used in stead of color allocated with
      <span class="function"><a href="function.imagecolorallocate.html" class="function">imagecolorallocate()</a></span> or
      <span class="function"><a href="function.imagecolorallocatealpha.html" class="function">imagecolorallocatealpha()</a></span>
    </span>
   </dd>

  </dt>

  <dt id="constant.img-color-transparent">
   <span class="term">
    <strong><code>IMG_COLOR_TRANSPARENT</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special color option which can be used in stead of color allocated with
      <span class="function"><a href="function.imagecolorallocate.html" class="function">imagecolorallocate()</a></span> or
      <span class="function"><a href="function.imagecolorallocatealpha.html" class="function">imagecolorallocatealpha()</a></span>
    </span>
   </dd>

  </dt>

  <dt id="constant.img-arc-rounded">
   <span class="term">
    <strong><code>IMG_ARC_ROUNDED</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A style constant used by the  <span class="function"><a href="function.imagefilledarc.html" class="function">imagefilledarc()</a></span> function.
    </span>
    <blockquote class="note"><p><strong class="note">Note</strong>: 
     <p class="para">
      This constant has the same value as <strong><code>IMG_ARC_PIE</code></strong>
     </p>
    </p></blockquote>
   </dd>

  </dt>

  <dt id="constant.img-arc-pie">
   <span class="term">
    <strong><code>IMG_ARC_PIE</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A style constant used by the  <span class="function"><a href="function.imagefilledarc.html" class="function">imagefilledarc()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-arc-chord">
   <span class="term">
    <strong><code>IMG_ARC_CHORD</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A style constant used by the  <span class="function"><a href="function.imagefilledarc.html" class="function">imagefilledarc()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-arc-nofill">
   <span class="term">
    <strong><code>IMG_ARC_NOFILL</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A style constant used by the  <span class="function"><a href="function.imagefilledarc.html" class="function">imagefilledarc()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-arc-edged">
   <span class="term">
    <strong><code>IMG_ARC_EDGED</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A style constant used by the  <span class="function"><a href="function.imagefilledarc.html" class="function">imagefilledarc()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-gd2-raw">
   <span class="term">
    <strong><code>IMG_GD2_RAW</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A type constant used by the  <span class="function"><a href="function.imagegd2.html" class="function">imagegd2()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-gd2-compressed">
   <span class="term">
    <strong><code>IMG_GD2_COMPRESSED</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A type constant used by the  <span class="function"><a href="function.imagegd2.html" class="function">imagegd2()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-effect-replace">
   <span class="term">
    <strong><code>IMG_EFFECT_REPLACE</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Alpha blending effect used by the  <span class="function"><a href="function.imagelayereffect.html" class="function">imagelayereffect()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-effect-alphablend">
   <span class="term">
    <strong><code>IMG_EFFECT_ALPHABLEND</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Alpha blending effect used by the  <span class="function"><a href="function.imagelayereffect.html" class="function">imagelayereffect()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-effect-normal">
   <span class="term">
    <strong><code>IMG_EFFECT_NORMAL</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Alpha blending effect used by the  <span class="function"><a href="function.imagelayereffect.html" class="function">imagelayereffect()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-effect-overlay">
   <span class="term">
    <strong><code>IMG_EFFECT_OVERLAY</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Alpha blending effect used by the  <span class="function"><a href="function.imagelayereffect.html" class="function">imagelayereffect()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-negate">
   <span class="term">
    <strong><code>IMG_FILTER_NEGATE</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-grayscale">
   <span class="term">
    <strong><code>IMG_FILTER_GRAYSCALE</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-brightness">
   <span class="term">
    <strong><code>IMG_FILTER_BRIGHTNESS</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-contrast">
   <span class="term">
    <strong><code>IMG_FILTER_CONTRAST</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-colorize">
   <span class="term">
    <strong><code>IMG_FILTER_COLORIZE</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-edgedetect">
   <span class="term">
    <strong><code>IMG_FILTER_EDGEDETECT</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-gaussian-blur">
   <span class="term">
    <strong><code>IMG_FILTER_GAUSSIAN_BLUR</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-selective-blur">
   <span class="term">
    <strong><code>IMG_FILTER_SELECTIVE_BLUR</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-emboss">
   <span class="term">
    <strong><code>IMG_FILTER_EMBOSS</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-mean-removal">
   <span class="term">
    <strong><code>IMG_FILTER_MEAN_REMOVAL</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-smooth">
   <span class="term">
    <strong><code>IMG_FILTER_SMOOTH</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.img-filter-pixelate">
   <span class="term">
    <strong><code>IMG_FILTER_PIXELATE</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Special GD filter used by the  <span class="function"><a href="function.imagefilter.html" class="function">imagefilter()</a></span> function. 
     (Available as of PHP 5.3.0)
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-gif">
   <span class="term">
    <strong><code>IMAGETYPE_GIF</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-jpeg">
   <span class="term">
    <strong><code>IMAGETYPE_JPEG</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-jpeg2000">
   <span class="term">
    <strong><code>IMAGETYPE_JPEG2000</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-png">
   <span class="term">
    <strong><code>IMAGETYPE_PNG</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-swf">
   <span class="term">
    <strong><code>IMAGETYPE_SWF</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-psd">
   <span class="term">
    <strong><code>IMAGETYPE_PSD</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-bmp">
   <span class="term">
    <strong><code>IMAGETYPE_BMP</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-wbmp">
   <span class="term">
    <strong><code>IMAGETYPE_WBMP</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-xbm">
   <span class="term">
    <strong><code>IMAGETYPE_XBM</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-tiff-ii">
   <span class="term">
    <strong><code>IMAGETYPE_TIFF_II</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-tiff-mm">
   <span class="term">
    <strong><code>IMAGETYPE_TIFF_MM</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-iff">
   <span class="term">
    <strong><code>IMAGETYPE_IFF</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-jb2">
   <span class="term">
    <strong><code>IMAGETYPE_JB2</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-jpc">
   <span class="term">
    <strong><code>IMAGETYPE_JPC</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-jp2">
   <span class="term">
    <strong><code>IMAGETYPE_JP2</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-jpx">
   <span class="term">
    <strong><code>IMAGETYPE_JPX</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-swc">
   <span class="term">
    <strong><code>IMAGETYPE_SWC</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
    </span>
   </dd>

  </dt>

  <dt id="constant.imagetype-ico">
   <span class="term">
    <strong><code>IMAGETYPE_ICO</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Image type constant used by the
      <span class="function"><a href="function.image-type-to-mime-type.html" class="function">image_type_to_mime_type()</a></span> and
      <span class="function"><a href="function.image-type-to-extension.html" class="function">image_type_to_extension()</a></span> functions.
     (Available as of PHP 5.3.0)
    </span>
   </dd>

  </dt>

  <dt id="constant.png-no-filter">
   <span class="term">
    <strong><code>PNG_NO_FILTER</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A special PNG filter, used by the  <span class="function"><a href="function.imagepng.html" class="function">imagepng()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.png-filter-none">
   <span class="term">
    <strong><code>PNG_FILTER_NONE</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A special PNG filter, used by the  <span class="function"><a href="function.imagepng.html" class="function">imagepng()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.png-filter-sub">
   <span class="term">
    <strong><code>PNG_FILTER_SUB</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A special PNG filter, used by the  <span class="function"><a href="function.imagepng.html" class="function">imagepng()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.png-filter-up">
   <span class="term">
    <strong><code>PNG_FILTER_UP</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A special PNG filter, used by the  <span class="function"><a href="function.imagepng.html" class="function">imagepng()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.png-filter-avg">
   <span class="term">
    <strong><code>PNG_FILTER_AVG</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A special PNG filter, used by the  <span class="function"><a href="function.imagepng.html" class="function">imagepng()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.png-filter-paeth">
   <span class="term">
    <strong><code>PNG_FILTER_PAETH</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A special PNG filter, used by the  <span class="function"><a href="function.imagepng.html" class="function">imagepng()</a></span> function.
    </span>
   </dd>

  </dt>

  <dt id="constant.png-all-filters">
   <span class="term">
    <strong><code>PNG_ALL_FILTERS</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     A special PNG filter, used by the  <span class="function"><a href="function.imagepng.html" class="function">imagepng()</a></span> function.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-flip-vertical">
   <span class="term">
    <strong><code>IMG_FLIP_VERTICAL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imageflip.html" class="function">imageflip()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-flip-horizontal">
   <span class="term">
    <strong><code>IMG_FLIP_HORIZONTAL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imageflip.html" class="function">imageflip()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-flip-both">
   <span class="term">
    <strong><code>IMG_FLIP_BOTH</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imageflip.html" class="function">imageflip()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-bell">
   <span class="term">
    <strong><code>IMG_BELL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-bessel">
   <span class="term">
    <strong><code>IMG_BESSEL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-bilinear-fixed">
   <span class="term">
    <strong><code>IMG_BILINEAR_FIXED</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-bicubic">
   <span class="term">
    <strong><code>IMG_BICUBIC</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-bicubic-fixed">
   <span class="term">
    <strong><code>IMG_BICUBIC</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-blackman">
   <span class="term">
    <strong><code>IMG_BLACKMAN</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-box">
   <span class="term">
    <strong><code>IMG_BOX</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-bspline">
   <span class="term">
    <strong><code>IMG_BSPLINE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-catmullrom">
   <span class="term">
    <strong><code>IMG_CATMULLROM</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-gaussian">
   <span class="term">
    <strong><code>IMG_GAUSSIAN</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-generalized-cubic">
   <span class="term">
    <strong><code>IMG_GENERALIZED_CUBIC</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-hermite">
   <span class="term">
    <strong><code>IMG_HERMITE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-hamming">
   <span class="term">
    <strong><code>IMG_HAMMING</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-hanning">
   <span class="term">
    <strong><code>IMG_HANNING</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-mitchell">
   <span class="term">
    <strong><code>IMG_MITCHELL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-power">
   <span class="term">
    <strong><code>IMG_POWER</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-quadratic">
   <span class="term">
    <strong><code>IMG_QUADRATIC</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-sinc">
   <span class="term">
    <strong><code>IMG_SINC</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-nearest-neighbour">
   <span class="term">
    <strong><code>IMG_NEAREST_NEIGHBOUR</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-weighted4">
   <span class="term">
    <strong><code>IMG_WEIGHTED4</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


  <dt id="constant.img-triangle">
   <span class="term">
    <strong><code>IMG_TRIANGLE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type int">int</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Used together with  <span class="function"><a href="function.imagesetinterpolation.html" class="function">imagesetinterpolation()</a></span>, available as of PHP 5.5.0.
    </span>
   </dd>

  </dt>


 </dl>

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="image.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="image.examples.html">Examples</a></div>
 <div class="up"><a href="book.image.html">GD</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>