PHP Doku:: Gets the width and height as an associative array - function.imagick-getimagegeometry.html

Verlauf / Chronik / History: (50) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzBildverarbeitung und -generierungImage Processing (ImageMagick)The Imagick classImagick::getImageGeometry

Ein Service von Reinhard Neidl - Webprogrammierung.

Verdiene Geld mit Deiner Homepage oder deinem Blog: Setzte eine Textlinkwerbung und bestimme den Preis selber.
Einfach kostenlos anmelden und einen Platz auf Deiner Homepage anbieten.
Make money with your homepage or blog: Set a text link advertising and declare the price.
Register free of charge and offer a place on your homepage.
The Imagick class

<<Imagick::getImageGamma

Imagick::getImageGravity>>

Imagick::getImageGeometry

(PECL imagick 2.0.0)

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

Beschreibung

array Imagick::getImageGeometry ( void )
Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.

Returns the width and height as an associative array.

Rückgabewerte

Returns an array with the width/height of the image. Wirf eine ImagickException bei einem Fehler.


Verdiene Geld mit Deiner Homepage oder deinem Blog: Setzte eine Textlinkwerbung und bestimme den Preis selber.
Einfach kostenlos anmelden und einen Platz auf Deiner Homepage anbieten.
Make money with your homepage or blog: Set a text link advertising and declare the price.
Register free of charge and offer a place on your homepage.
Ein BenutzerBeitrag:
- Beiträge aktualisieren...
tim at provu dot co dot uk
20.11.2008 16:05
Example code:

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

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



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)