/* get the size of the image in bytes */
$image=new Imagick("c:/htdocs/rose.jpg");
$size=$image->getImageSize();
print "the size of the picture is ".$size." bytes";
result
the size of the picture is 3461 bytes
Imagick::getImageSize
(No version information available, might be only in CVS)
Imagick::getImageSize — 画像の長さをバイト数で返す
説明
int Imagick::getImageSize
( void
)
警告
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
画像の長さをバイト数で返します。
返り値
現在の画像のサイズをバイト数で返します。
Imagick::getImageSize
perching_eagle at yahoo dot com
05-Oct-2007 04:37
05-Oct-2007 04:37
