ImagickDraw::__construct

(PECL imagick 2.0.0)

ImagickDraw::__constructThe ImagickDraw constructor

Opis

ImagickDraw::__construct ( void )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

The ImagickDraw constructor

Zwracane wartości

Nie jest zwracana żadna wartość.

add a note add a note

User Contributed Notes 1 note

up
-3
Anonymous
14 years ago
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.
To Top