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

search for in the

ImagickDraw::destroy> <ImagickDraw::composite
[edit] Last updated: Fri, 25 May 2012

view this page in

ImagickDraw::__construct

(PECL imagick 2.0.0)

ImagickDraw::__constructLe constructeur ImagickDraw

Description

ImagickDraw::__construct ( void )
Avertissement

Cette fonction n'est pas documentée et seule la liste des arguments est disponible.

Le constructeur de la classe ImagickDraw.

Valeurs de retour

Aucune valeur n'est retournée.



add a note add a note User Contributed Notes ImagickDraw::__construct
Anonymous 31-Mar-2009 08:59
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.

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