PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Imagick::getImageTicksPerSecond> <Imagick::getImageSignature
Last updated: Fri, 27 Jun 2008

view this page in

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.



add a note add a note User Contributed Notes
Imagick::getImageSize
perching_eagle at yahoo dot com
05-Oct-2007 02:37
/* 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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites