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
Last updated: Fri, 20 Nov 2009

view this page in

Imagick::getImageGeometry

(PECL imagick 2.0.0)

Imagick::getImageGeometryGets the width and height as an associative array

Description

array Imagick::getImageGeometry ( void )
Warning

This function is currently not documented; only its argument list is available.

Returns the width and height as an associative array.

Return Values

Returns an array with the width/height of the image. Throw an ImagickException on error.



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

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

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

Imagick::getImageGravity> <Imagick::getImageGamma
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites