//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
)
Imagick::getImageResolution
(PECL imagick 2.0.0)
Imagick::getImageResolution — Gets 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. Throw an ImagickException on error.
Fehler/Exceptions
Wirft ImagickException bei Fehlern.
Imagick::getImageResolution
perching_eagle at yahoo dot com
05-Oct-2007 01:14
05-Oct-2007 01:14
