PNG's support transparency as well as GIFs. The short answer is that you'll create your image and also specify a color that will be made transparent. I don't see why imagecreatetruecolor making a default black image is a problem? If it is, just set black to be the transparent color and go from there.
This is your friend: http://us4.php.net/manual/en/function.imagecolortransparent.php Regards Michael Brum -----Original Message----- From: Peter Vertes [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 1:48 AM To: php Subject: Re: [PHP] dynamicly generating a transparent truecolor image If you want to create a transparent image don't forget it must be a GIF. At least that's what my graphics guys have been telling me all these years :) -Pete On Jan 16, 2004, at 04:41, Michel van der Breggen wrote: > hi, > i have a problem, i would like to dynamicly generete a transparent > truecolor image in php. The problem is that imagecreatetruecolor > standard creates a black image. Does anybody have a solution for this? > > Thanks in advance, > Michel van der Breggen > [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: > http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php