Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 8191

php-manual-en-7.2.11-1.mga7.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>Returns the color of the specified pixel</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagick.getimagepage.html">Imagick::getImagePage</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagick.getimageprofile.html">Imagick::getImageProfile</a></div>
 <div class="up"><a href="class.imagick.html">Imagick</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="imagick.getimagepixelcolor" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::getImagePixelColor</h1>
  <p class="verinfo">(PECL imagick 2.0.0)</p><p class="refpurpose"><span class="refname">Imagick::getImagePixelColor</span> &mdash; <span class="dc-title">Returns the color of the specified pixel</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagick.getimagepixelcolor-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><a href="class.imagickpixel.html" class="type ImagickPixel">ImagickPixel</a></span> <span class="methodname"><strong>Imagick::getImagePixelColor</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$x</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$y</code></span>
   )</div>

  <p class="para rdfs-comment">
   Returns the color of the specified pixel.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.getimagepixelcolor-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">x</code></dt>

     <dd>

      <p class="para">
      The x-coordinate of the pixel
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">y</code></dt>

     <dd>

      <p class="para">
      The y-coordinate of the pixel
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-imagick.getimagepixelcolor-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns an ImagickPixel instance for the color at the coordinates given.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-imagick.getimagepixelcolor-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="para">
   Throws ImagickException on error.
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagick.getimagepage.html">Imagick::getImagePage</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagick.getimageprofile.html">Imagick::getImageProfile</a></div>
 <div class="up"><a href="class.imagick.html">Imagick</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>