Gmagick::newimage

(PECL gmagick >= Unknown)

Gmagick::newimageCreates a new image

说锟斤拷

public Gmagick::newimage ( int $width , int $height , string $background [, string $format ] ) : Gmagick

Creates a new image with the specified background color

锟斤拷锟斤拷

width

Width of the new image

height

Height of the new image

background

The background color used for this image (as float)

format

Image format.

锟斤拷锟斤拷值

The Gmagick object on success

锟斤拷锟斤拷锟届常

锟斤拷锟斤拷时锟阶筹拷 GmagickException锟斤拷