/* 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 — Returns the image length in bytes
설명
int Imagick::getImageSize
( void
)
Warning
This function is currently not documented; only the argument list is available.
Warning
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.
Returns the image length in bytes
매개변수
반환값
Returns an int containing the current image size.
Imagick::getImageSize
perching_eagle at yahoo dot com
04-Oct-2007 06:37
04-Oct-2007 06:37
