©
本文檔使用 php中文網手册 發布
(PECL gmagick >= Unknown)
Gmagick::newimage — Creates a new image
$width
, int $height
, string $background
[, string $format
] )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。