Imagick::getImageWidth

(PECL imagick 2.0.0)

Imagick::getImageWidthReturns 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
enanim79 at gmail dot com
23-Mar-2010 04:59
<?php

$file
= "image.jpg";

$image=new Imagick($file);

$imageWidth = $image->getImageWidth();

$imageHeight = $image->getImageHeight();

?>

Imagick::getInterlaceScheme> <Imagick::getImageWhitePoint
Last updated: Fri, 30 Dec 2011