//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 — 画像の高さを返す
説明
int Imagick::getImageHeight
( void
)
警告
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
画像の高さを返します。
返り値
画像の高さをピクセル数で返します。 エラー時に ImagickException をスローします。
Imagick::getImageHeight
perching_eagle at yahoo dot com
05-Oct-2007 01:19
05-Oct-2007 01:19
