/* 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
Description
int Imagick::getImageSize
( void
)
Warning
This function is currently not documented; only its argument list is available.
Returns the image length in bytes
Return Values
Returns an int containing the current image size.
Imagick::getImageSize
perching_eagle at yahoo dot com
05-Oct-2007 02:37
05-Oct-2007 02:37
