Gmagick::newimage
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Creates a new image
Description
Gmagick::newimage(int $width, int $height, string $background, [string $format]): Gmagick
Creates a new image with the specified background color.
Parameters
widthWidth of the new image.
heightHeight of the new image.
backgroundThe background color used for this image (as float).
formatImage format.
Return Values
The Gmagick object.
Errors/Exceptions
Throw