note 22301 added to function.imagecreatetruecolor
| From: | mwwaygoo at hotmail dot com | Date: | Thu, 13 Jun 2002 10:12:02 +0000 |
| Subject: | note 22301 added to function.imagecreatetruecolor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31792@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!!!!
--
http://www.php.net/manual/en/function.imagecreatetruecolor.php
http://master.php.net/manage/user-notes.php?action=edit+22301
http://master.php.net/manage/user-notes.php?action=delete+22301
http://master.php.net/manage/user-notes.php?action=reject+22301