//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
Beschreibung
int Imagick::getImageHeight
( void
)
Warnung
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
Returns the image height.
Rückgabewerte
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
