//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
(PECL imagick 2, PECL imagick 3)
Imagick::getImageHeight — Görüntünün yüksekliğini döndürür
Bu işlevin bağımsız değişkeni yoktur.
Görüntünün yüksekliğini piksel cinsinden döndürür.
Hata durumunda bir ImagickException istisnası oluşur.
//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