To set up and output an image the very minimum:
<?php
$img = new Imagick();
$img->newImage( 200, 200, new ImagickPixel( 'lime' ) );
$img->setImageFormat( "png" );
header( "Content-Type: image/png" );
echo $img;
?>
Copy, paste; and if imagemagick is enabled it should come up with a lime colored square.
ImagickDraw::__construct
(PECL imagick 2.0.0)
ImagickDraw::__construct — The ImagickDraw constructor
Beschreibung
Warnung
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
The ImagickDraw constructor
Rückgabewerte
Es wird kein Wert zurückgegeben.
ImagickDraw::__construct
Anonymous
01-Apr-2009 12:59
01-Apr-2009 12:59
