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 May 2011

view this page in

Imagick::getImageGeometry

(PECL imagick 2.0.0)

Imagick::getImageGeometryObtiene el ancho y el alto como una matriz asociativa

Descripción

array Imagick::getImageGeometry ( void )
Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Obtiene el ancho y el alto como una matriz asociativa.

Valores devueltos

Devuelve una matriz con el ancho/alto de la imagen. Lanza ImagickException en caso de 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'];
?>

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