Imagick::getImageHeight


wizard apg

RETURNS the image height.



<?php

int 
public Imagick::getImageHeight();

?>

 


This function has no parameters.





Returns the image height.



  1 EXERCISE   

<?php

$imagick 
= new imagick(PATH2IMGW '/jpg/aa.jpg');

$height $imagick->getImageHeight();

echo 
"The image height is " $height " pixels.";

?>

 RESULT   

aa.jpg

img/jpg/aa.jpg apr

The image height is 2736 pixels