PHP : Function Reference : Imagick Image Library : Imagick::getImageResolution
perching_eagle
//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
)
|