PHP Doku:: Sets the image resolution - function.imagick-setimageresolution.html

Verlauf / Chronik / History: (50) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzBildverarbeitung und -generierungImage Processing (ImageMagick)The Imagick classImagick::setImageResolution

Ein Service von Reinhard Neidl - Webprogrammierung.

The Imagick class

<<Imagick::setImageRenderingIntent

Imagick::setImageScene>>

Imagick::setImageResolution

(PECL imagick 2.0.0)

Imagick::setImageResolutionSets the image resolution

Beschreibung

bool Imagick::setImageResolution ( float $x_resolution , float $y_resolution )
Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.

Sets the image resolution.

Parameter-Liste

x_resolution

y_resolution

Rückgabewerte

Liefert TRUE bei Erfolg.

Fehler/Exceptions

Wirft ImagickException bei Fehlern.


2 BenutzerBeiträge:
- Beiträge aktualisieren...
craig dot fairhurst at nospamyouds dot com
12.02.2010 19:12
Note that any changes to the resolution (-density option) must be made before specifying the file, so construct the object with no file path and then use $object->readImage('path/to/file'); otherwise the density won't change.
Also see Imagick::setResolution.
octave at web dot de
17.07.2009 18:27
This method uses the ImageMagick "-density {$x_resolution}x{$y_resolution}" parameter



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)