PHP 8.3.4 Released!

ImagickDraw::__construct

(PECL imagick 2, PECL imagick 3)

ImagickDraw::__constructImagickDraw コンストラクタ

説明

public ImagickDraw::__construct()
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

ImagickDraw のコンストラクタです。

戻り値

値を返しません。

add a note

User Contributed Notes 1 note

up
-5
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