<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.gmagick.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'gmagick.resizeimage.php',
    1 => 'Gmagick::resizeimage',
    2 => 'Scales an image',
  ),
  'up' => 
  array (
    0 => 'class.gmagick.php',
    1 => 'Gmagick',
  ),
  'prev' => 
  array (
    0 => 'gmagick.resampleimage.php',
    1 => 'Gmagick::resampleimage',
  ),
  'next' => 
  array (
    0 => 'gmagick.rollimage.php',
    1 => 'Gmagick::rollimage',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gmagick/gmagick/resizeimage.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="gmagick.resizeimage" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Gmagick::resizeimage</h1>
  <p class="verinfo">(PECL gmagick &gt;= Unknown)</p><p class="refpurpose"><span class="refname">Gmagick::resizeimage</span> &mdash; <span class="dc-title">Scales an image</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-gmagick.resizeimage-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Gmagick::resizeimage</strong></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">$width</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">$height</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">$filter</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">$blur</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$fit</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong></span></span><br>): <span class="type"><a href="class.gmagick.php" class="type Gmagick">Gmagick</a></span></div>

  <p class="simpara">
   Scales an image to the desired dimensions with a filter.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-gmagick.resizeimage-parameters">
  <h3 class="title">Parameters</h3>
  <dl>
   
    <dt><code class="parameter">width</code></dt>
    <dd>
     <span class="simpara">
      The number of columns in the scaled image.
     </span>
    </dd>
   
   
    <dt><code class="parameter">height</code></dt>
    <dd>
     <span class="simpara">
      The number of rows in the scaled image.
     </span>
    </dd>
   
   
    <dt><code class="parameter">filter</code></dt>
    <dd>
     <span class="simpara">
      Image filter to use.
     </span>
    </dd>
   
   
    <dt><code class="parameter">blur</code></dt>
    <dd>
     <span class="simpara">
      The blur factor where larger than 1 is blurry, lesser than 1 is sharp.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-gmagick.resizeimage-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="simpara">
   The <span class="classname"><a href="class.gmagick.php" class="classname">Gmagick</a></span> object.
  </p>
 </div>


  <div class="refsect1 errors" id="refsect1-gmagick.resizeimage-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="simpara">
   Throws an
<span class="classname"><strong class="classname">GmagickException</strong></span> on error.
  </p>
 </div>


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