<?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.thumbnailimage.php',
    1 => 'Gmagick::thumbnailimage',
    2 => 'Changes the size of an image',
  ),
  'up' => 
  array (
    0 => 'class.gmagick.php',
    1 => 'Gmagick',
  ),
  'prev' => 
  array (
    0 => 'gmagick.swirlimage.php',
    1 => 'Gmagick::swirlimage',
  ),
  'next' => 
  array (
    0 => 'gmagick.trimimage.php',
    1 => 'Gmagick::trimimage',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gmagick/gmagick/thumbnailimage.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

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

 </div>

 <div class="refsect1 description" id="refsect1-gmagick.thumbnailimage-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Gmagick::thumbnailimage</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$width</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$height</code></span>, <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>): <span class="type"><a href="class.gmagick.php" class="type Gmagick">Gmagick</a></span></div>

  <p class="simpara">
   Changes the size of an image to the given dimensions and removes any associated profiles.
The goal is to produce small low cost thumbnail images suited for display on the Web.
If <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> is given as a third parameter then columns and rows parameters are used as maximums
 for each side. Both sides will be scaled down until the match or are smaller than the parameter given for the side.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-gmagick.thumbnailimage-parameters">
  <h3 class="title">Parameters</h3>
  <dl>
   
    <dt><code class="parameter">width</code></dt>
    <dd>
     <span class="simpara">
      Image width.
     </span>
    </dd>
   
   
    <dt><code class="parameter">height</code></dt>
    <dd>
     <span class="simpara">
      Image height.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-gmagick.thumbnailimage-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.thumbnailimage-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); ?>