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

search for in the

Imagick::getImageLength> <Imagick::getImageFilename
Last updated: Sun, 25 Nov 2007

view this page in

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.



add a note add a note User Contributed Notes
Imagick::getImageSize
perching_eagle at yahoo dot com
04-Oct-2007 06: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

Imagick::getImageLength> <Imagick::getImageFilename
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites