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.
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.
Throws an GmagickException on error.
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant