<?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.setresolution.php', 1 => 'Imagick::setResolution', 2 => 'Sets the image resolution', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.setregistry.php', 1 => 'Imagick::setRegistry', ), 'next' => array ( 0 => 'imagick.setresourcelimit.php', 1 => 'Imagick::setResourceLimit', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/setresolution.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="imagick.setresolution" class="refentry"> <div class="refnamediv"> <h1 class="refname">Imagick::setResolution</h1> <p class="verinfo">(PECL imagick 2, PECL imagick 3)</p><p class="refpurpose"><span class="refname">Imagick::setResolution</span> — <span class="dc-title">Sets the image resolution</span></p> </div> <div class="refsect1 description" id="refsect1-imagick.setresolution-description"> <h3 class="title">Beschreibung</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><strong>Imagick::setResolution</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$x_resolution</code></span>, <span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$y_resolution</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div> <p class="para rdfs-comment"> Sets the image resolution. </p> </div> <div class="refsect1 parameters" id="refsect1-imagick.setresolution-parameters"> <h3 class="title">Parameter-Liste</h3> <p class="para"> <dl> <dt><code class="parameter">x_resolution</code></dt> <dd> <p class="para"> The horizontal resolution. </p> </dd> <dt><code class="parameter">y_resolution</code></dt> <dd> <p class="para"> The vertical resolution. </p> </dd> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-imagick.setresolution-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 notes" id="refsect1-imagick.setresolution-notes"> <h3 class="title">Anmerkungen</h3> <p class="para"> <span class="methodname"><strong>Imagick::setResolution()</strong></span> must be called before loading or creating an image. </p> </div> <div class="refsect1 seealso" id="refsect1-imagick.setresolution-seealso"> <h3 class="title">Siehe auch</h3> <ul class="simplelist"> <li><span class="methodname"><a href="imagick.setimageresolution.php" class="methodname" rel="rdfs-seeAlso">Imagick::setImageResolution()</a> - Sets the image resolution</span></li> <li><span class="methodname"><a href="imagick.getimageresolution.php" class="methodname" rel="rdfs-seeAlso">Imagick::getImageResolution()</a> - Gets the image X and Y resolution</span></li> </ul> </div> </div><?php manual_footer($setup); ?>