Sophie

Sophie

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

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>Set image size</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagick.exportimagepixels.html">Imagick::exportImagePixels</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagick.flattenimages.html">Imagick::flattenImages</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.extentimage" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::extentImage</h1>
  <p class="verinfo">(No version information available, might only be in SVN)</p><p class="refpurpose"><span class="refname">Imagick::extentImage</span> &mdash; <span class="dc-title">Set image size</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagick.extentimage-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>Imagick::extentImage</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$width</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$height</code></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">
   Comfortability method for setting image size. The method sets the image size and allows
   setting x,y coordinates where the new area begins.
   This method is available if Imagick has been compiled against ImageMagick version 6.3.1 or newer.
  </p>
 </div>


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

    <dt>

     <span class="term"><em><code class="parameter">width</code></em></span>
     <dd>

      <p class="para">
       The new width
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">height</code></em></span>
     <dd>

      <p class="para">
       The new height
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">x</code></em></span>
     <dd>

      <p class="para">
       X position for the new size
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">y</code></em></span>
     <dd>

      <p class="para">
       Y position for the new size
      </p>
     </dd>

    </dt>

   </dl>

  </p>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-imagick.extentimage-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> on success.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-imagick.extentimage-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="imagick.resizeimage.html" class="function" rel="rdfs-seeAlso">Imagick::resizeImage()</a> - Scales an image</span></li>
    <li class="member"> <span class="function"><a href="imagick.thumbnailimage.html" class="function" rel="rdfs-seeAlso">Imagick::thumbnailImage()</a> - Changes the size of an image</span></li>
    <li class="member"> <span class="function"><a href="imagick.cropimage.html" class="function" rel="rdfs-seeAlso">Imagick::cropImage()</a> - Extracts a region of the image</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagick.exportimagepixels.html">Imagick::exportImagePixels</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagick.flattenimages.html">Imagick::flattenImages</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>