Re: Can someone tell me how to set an image transparent?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux