Re: Can someone tell me how to set an image transparent?
| From: | Jeroen Serpieters | Date: | Sun, 23 May 2004 09:44:40 +0000 |
| Subject: | Re: Can someone tell me how to set an image transparent? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23812@lists.php.net to get a copy of this message | ||
On Sun, 23 May 2004, Daniel Anderson wrote:
>
> The PHP Documentation is all well and good, but not one person on it is talking sense.
>
$color = imagecolorallocate( $img_resource, 255, 255, 255 ); // white
imagecolortransparent( $img_resource, $color );
Al you have to do is say which color you want to be transparent.
--
Jeroen
Anybody who thinks a little 9,000-line program [Java] that's distributed free and can be cloned
by anyone
is going to affect anything we do at Microsoft has his head screwed on wrong.
-- Bill Gates