//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
(No version information available, might be only in CVS)
Imagick::getImageResolution — Gets the image X and Y resolution
Description
array Imagick::getImageResolution
( void
)
Warning
This function is currently not documented; only its argument list is available.
Gets the image X and Y resolution.
Return Values
Returns the resolution as an array and throws ImagickException on error.
Errors/Exceptions
Throws ImagickException on error.
Imagick::getImageResolution
perching_eagle at yahoo dot com
05-Oct-2007 02:14
05-Oct-2007 02:14
