note 96175 modified in function.imagick-getimagesize by thiago
| From: | thiago@php.net | Date: | Fri, 12 Feb 2010 12:16:42 +0000 |
| Subject: | note 96175 modified in function.imagick-getimagesize by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165905@lists.php.net to get a copy of this message | ||
Practical use to get the dimensions of the image:
<?php
$image = new Imagick($image_src);
$d = $image->getImageGeometry();
$w = $d['width'];
$h = $d['height'];
?>
--was--
Practical use to get the dimensions of the image:
$image = new Imagick($image_src);
$d = $image->getImageGeometry();
$w = $d['width'];
$h = $d['height'];
http://php.net/manual/en/function.imagick-getimagesize.php