Xoom3r Posted January 21, 2010 Share Posted January 21, 2010 Hey there, first the code piece and then explanation. // ADD THE CHARACTER IMAGE $imagestring = file_get_contents('http://3x.no-ip.org/GD/q1.php?n=' . $player); $image2 = imagecreatefromstring($imagestring); // TRANSPARENCY $trans = imagecolorallocate($im,255,2,255); imagecolortransparent($image2,$trans); This is the part of the code that's supposed to make the color #ff02ff (RGB: 255, 2, 255) of an external image, transparent. But it doesn't seem to work, can you please help me figure why not? Link to comment https://forums.phpfreaks.com/topic/189298-external-gd-transparency/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.