PHP : Function Reference : Imagick Image Library : Imagick::getImageSize
perching_eagle
/* 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
|