/* 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
Popis
int Imagick::getImageSize
( void
)
Warning
Táto funkcia nie je momentálne zdokumentovaná; je dostupný len zoznam argumentov.
Warning
Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.
Returns the image length in bytes
Parametre
Vrátené hodnoty
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
