Transparent background
Closed this issue · 1 comments
NoahDragon commented
From: https://wordpress.org/support/topic/transparent-background-49/
// create backgound
$monster = @imagecreatetruecolor(256, 256)
or die("GD image create failed");
$color = imagecolorallocatealpha($monster, 0, 0, 0, 127);
imagesavealpha($monster, true);
imagefill($monster,0,0,$color);
imagefilledrectangle($monster, 0, 0, 256, 256, $color);
NoahDragon commented
Supported in 2.0. 468a161