略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ImagickDraw::__construct

2024-12-22

ImagickDraw::__construct

(PECL imagick 2, PECL imagick 3)

ImagickDraw::__constructThe ImagickDraw constructor

说明

public ImagickDraw::__construct()
警告

本函数还未编写文档,仅有参数列表。

The ImagickDraw constructor.

返回值

没有返回值。

add a noteadd a note

User Contributed Notes 1 note

up
-3
Anonymous
13 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.

官方地址:https://www.php.net/manual/en/imagickdraw.construct.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3