To create a png with the transparent background:
newimage(width, height, "transparent", "png")(PECL gmagick >= Unknown)
Gmagick::newimage — Crée une nouvelle image
Crée une nouvelle image avec la couleur d'arrière-plan spécifiée.
widthheightbackgroundformatL'objet Gmagick.
Émet une exception GmagickException en cas d'erreur.