PHP Doku:: Gets the image X and Y resolution - function.imagick-getimageresolution.html

Verlauf / Chronik / History: (45) anzeigen

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

Ein Service von Reinhard Neidl - Webprogrammierung.

The Imagick class

<<Imagick::getImageRenderingIntent

Imagick::getImagesBlob>>

Imagick::getImageResolution

(PECL imagick 2.0.0)

Imagick::getImageResolutionGets the image X and Y resolution

Beschreibung

array Imagick::getImageResolution ( void )
Warnung

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

Gets the image X and Y resolution.

Rückgabewerte

Returns the resolution as an array. Wirf eine ImagickException bei einem Fehler.

Fehler/Exceptions

Wirft ImagickException bei Fehlern.


Ein BenutzerBeitrag:
- Beiträge aktualisieren...
perching_eagle at yahoo dot com
5.10.2007 3:14
//location of image: c:/htdocs/rose.jpg
$path="c:/htdocs/";
$image=new Imagick($path."rose.jpg");
$array=$image->getImageResolution();
print_r($array);

result:
Array
(
    [x]=>75
    [y]=>75
)



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",...)