To create a png with the transparent background:
newimage(width, height, "transparent", "png")(PECL gmagick >= Unknown)
Gmagick::newimage — Creates a new image
Creates a new image with the specified background color.
widthWidth of the new image.
heightHeight of the new image.
backgroundThe background color used for this image (as float).
formatImage format.
The Gmagick object.
Wirft bei einem Fehler eine GmagickException.