<?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 => 'it',
  ),
  'this' => 
  array (
    0 => 'imagick.remapimage.php',
    1 => 'Imagick::remapImage',
    2 => 'Remaps image colors',
  ),
  'up' => 
  array (
    0 => 'class.imagick.php',
    1 => 'Imagick',
  ),
  'prev' => 
  array (
    0 => 'imagick.reducenoiseimage.php',
    1 => 'Imagick::reduceNoiseImage',
  ),
  'next' => 
  array (
    0 => 'imagick.removeimage.php',
    1 => 'Imagick::removeImage',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/imagick/imagick/remapimage.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="imagick.remapimage" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::remapImage</h1>
  <p class="verinfo">(PECL imagick 2 &gt;= 2.3.0, PECL imagick 3)</p><p class="refpurpose"><span class="refname">Imagick::remapImage</span> &mdash; <span class="dc-title">Remaps image colors</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagick.remapimage-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Imagick::remapImage</strong></span>(<span class="methodparam"><span class="type"><a href="class.imagick.php" class="type Imagick">Imagick</a></span> <code class="parameter">$replacement</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$DITHER</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Replaces colors an image with those defined by <code class="parameter">replacement</code>. The colors
   are replaced with the closest possible color. Questo metodo è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.5 o successive.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.remapimage-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">replacement</code></dt>
     <dd>
      <p class="para">
       An Imagick object containing the replacement colors
      </p>
     </dd>
    
    
     <dt><code class="parameter">DITHER</code></dt>
     <dd>
      <p class="para">
       Refer to this list of <a href="imagick.constants.php#imagick.constants.dithermethod" class="link">dither method constants</a>
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-imagick.remapimage-returnvalues">
   <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in caso di successo.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-imagick.remapimage-errors">
  <h3 class="title">Errori/Eccezioni</h3>
  <p class="para">
   Lancia una ImagickException in caso di errore.
  </p>
 </div>

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