//file location c:/htdocs/rose.jpg
$image=new Imagick("c:/htdocs/rose.jpg");
$height=$image->getImageHeight();
print "the image height is ".$height;
result:
the image height is 134
Imagick::getImageHeight
(PECL imagick 2.0.0)
Imagick::getImageHeight — Returns the image height
Description
int Imagick::getImageHeight
( void
)
Warning
This function is currently not documented; only its argument list is available.
Returns the image height.
Return Values
Returns the image height in pixels. Throw an ImagickException on error.
Imagick::getImageHeight
perching_eagle at yahoo dot com
05-Oct-2007 01:19
05-Oct-2007 01:19
