<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.imagick.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'imagick.compareimagechannels.php',
    1 => 'Imagick::compareImageChannels',
    2 => 'Returns the difference in one or more images',
  ),
  'up' => 
  array (
    0 => 'class.imagick.php',
    1 => 'Imagick',
  ),
  'prev' => 
  array (
    0 => 'imagick.commentimage.php',
    1 => 'Imagick::commentImage',
  ),
  'next' => 
  array (
    0 => 'imagick.compareimagelayers.php',
    1 => 'Imagick::compareImageLayers',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/imagick/imagick/compareimagechannels.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="imagick.compareimagechannels" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::compareImageChannels</h1>
  <p class="verinfo">(PECL imagick 2, PECL imagick 3)</p><p class="refpurpose"><span class="refname">Imagick::compareImageChannels</span> &mdash; <span class="dc-title">Returns the difference in one or more images</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagick.compareimagechannels-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Imagick::compareImageChannels</strong></span>(<span class="methodparam"><span class="type"><a href="class.imagick.php" class="type Imagick">Imagick</a></span> <code class="parameter">$image</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$channelType</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$metricType</code></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   Compares one or more images and returns the difference image.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.compareimagechannels-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">image</code></dt>
     <dd>
      <p class="para">
       Imagick object containing the image to compare.
      </p>
     </dd>
    
    
     <dt><code class="parameter">channelType</code></dt>
     <dd>
      <p class="para">
       Provide any channel constant that is valid for your channel mode. To
       apply to more than one channel, combine channeltype constants using
       bitwise operators. Refer to this
       list of <a href="imagick.constants.php#imagick.constants.channel" class="link">channel constants</a>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">metricType</code></dt>
     <dd>
      <p class="para">
       One of the <a href="imagick.constants.php#imagick.constants.metric" class="link">metric type constants</a>.
      </p>
     </dd>
    
   </dl>
  </p>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-imagick.compareimagechannels-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Array consisting of <code class="literal">new_wand</code> and
   <code class="literal">distortion</code>.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-imagick.compareimagechannels-errors">
  <h3 class="title">Fehler/Exceptions</h3>
  <p class="para">
   Wirft ImagickException bei Fehlern.
  </p>
 </div>


</div><?php manual_footer($setup); ?>