<?php
$file = "image.jpg";
$image=new Imagick($file);
$imageWidth = $image->getImageWidth();
$imageHeight = $image->getImageHeight();
?>
Imagick::getImageWidth
(PECL imagick 2.0.0)
Imagick::getImageWidth — Returns the image width
Descrição
int Imagick::getImageWidth
( void
)
Returns the image width.
Valor Retornado
Returns the image width.
Erros
Dispara ImagickException em erro.
User Contributed Notes
Imagick::getImageWidth
Imagick::getImageWidth
enanim79 at gmail dot com
23-Mar-2010 04:59
23-Mar-2010 04:59

Imagick::getImageWhitePoint