<?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.paintopaqueimage.php',
    1 => 'Imagick::paintOpaqueImage',
    2 => 'Change any pixel that matches color',
  ),
  'up' => 
  array (
    0 => 'class.imagick.php',
    1 => 'Imagick',
  ),
  'prev' => 
  array (
    0 => 'imagick.paintfloodfillimage.php',
    1 => 'Imagick::paintFloodfillImage',
  ),
  'next' => 
  array (
    0 => 'imagick.painttransparentimage.php',
    1 => 'Imagick::paintTransparentImage',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/imagick/imagick/paintopaqueimage.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="imagick.paintopaqueimage" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::paintOpaqueImage</h1>
  <p class="verinfo">(PECL imagick 2, PECL imagick 3)</p><p class="refpurpose"><span class="refname">Imagick::paintOpaqueImage</span> &mdash; <span class="dc-title">Change any pixel that matches color</span></p>

 </div>

 <div id="imagick.paintopaqueimage-refsynopsisdiv">
   <div class="warning"><strong class="warning">Warnung</strong><p class="simpara">Diese Funktion ist von Imagick 3.4.4 an <em>MISSBILLIGT</em>. Von der weiteren Verwendung wird dringend abgeraten.</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-imagick.paintopaqueimage-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Imagick::paintOpaqueImage</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$target</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$fill</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$fuzz</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$channel</code><span class="initializer"> = Imagick::CHANNEL_DEFAULT</span></span><br>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Changes any pixel that matches color with the color defined by fill.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.paintopaqueimage-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">target</code></dt>
     <dd>
      <p class="para">
       Change this target color to the fill color within the image. An
       ImagickPixel object or a string representing the target color.
      </p>
     </dd>
    
    
     <dt><code class="parameter">fill</code></dt>
     <dd>
      <p class="para">
       An ImagickPixel object or a string representing the fill color.
      </p>
     </dd>
    
    
     <dt><code class="parameter">fuzz</code></dt>
     <dd>
      <p class="para">
       The fuzz member of image defines how much tolerance is acceptable to
       consider two colors as the same.
      </p>
     </dd>
    
    
     <dt><code class="parameter">channel</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>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-imagick.paintopaqueimage-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Liefert <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> bei Erfolg.
  </p>
 </div>


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


 <div class="refsect1 changelog" id="refsect1-imagick.paintopaqueimage-changelog">
  <h3 class="title">Changelog</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Beschreibung</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>PECL imagick 2.1.0</td>
       <td>
        Now allows a string representing the color as first and second parameter.
        Previous versions allow only an ImagickPixel object.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


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