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

search for in the

Imagick::getImageGravity> <Imagick::getImageGamma
[edit] Last updated: Fri, 25 May 2012

view this page in

Imagick::getImageGeometry

(PECL imagick 2.0.0)

Imagick::getImageGeometry幅と高さを連想配列で取得する

説明

array Imagick::getImageGeometry ( void )

幅と高さを連想配列で返します。

返り値

画像の幅と高さを表す配列を返します。

エラー / 例外

エラー時に ImagickException をスローします。



add a note add a note User Contributed Notes Imagick::getImageGeometry
tim at provu dot co dot uk 20-Nov-2008 12:05
Example code:

<?php
$image
= new imagick($filename);

$geo=$image->getImageGeometry();
 
$sizex=$geo['width'];
$sizey=$geo['height'];
?>

 
show source | credits | stats | sitemap | contact | advertising | mirror sites