note 22301 rejected from function.imagecreatetruecolor by torben
| From: | torben@php.net | Date: | Thu, 13 Jun 2002 16:33:14 +0000 |
| Subject: | note 22301 rejected from function.imagecreatetruecolor by torben | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-31811@lists.php.net to get a copy of this message | ||
The major problem with moving from ImageCreate to ImageCreateTrueColor is that having a transparent
background doesn't seem to work.
You can add in images or shapes with colours that are set to be transparent, when you have alpha
blending switched on, and you get the expected results.
BUT a TrueColor image starts off as a solid black background, and I cannot see anyway of removing it
or making it transparent. Setting the black background color to transparent, or filling the image
with a color and setting it as the transparent color doesn't work (as it does with
ImageCreate).
HELP!!!!