• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • ImagickDraw::__construct()

    (PECL imagick 2.0.0)

    The ImagickDraw constructor

    说明

    ImagickDraw::__construct(void)
    Warning

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

    The ImagickDraw constructor

    返回值

    没有返回值。

    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.