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

view this page in

ImagickDraw::__construct

(PECL imagick 2.0.0)

ImagickDraw::__constructThe ImagickDraw constructor

Description

ImagickDraw ImagickDraw::__construct ( void )
Warning

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

The ImagickDraw constructor

Return Values

No value is returned.



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

ImagickDraw::destroy> <ImagickDraw::composite
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites