Re: Image Alpha Channels

From: Date: Mon, 20 May 2002 23:10:21 +0000
Subject: Re: Image Alpha Channels
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-84202@lists.php.net to get a copy of this message
Read this slide: http://conf.php.net/pres/slides/intro/image_colors4.php On Mon, 20 May 2002, Mike richardson wrote: > > Thanks, in advance. > > PHP's new image functions contain alpha transparency. > > How does one go about setting a color which has a transparent quality? > > For instance.. I would like to create two rectangles. one black, one > grey, on a white background. > > I would like the grey one to be on top, and be 50% transparent, so that > the black one will show through. > > Is this not possible? I can't seem to figure out how to create the > "grey" color with an alpha channel property, so that it will allow the > black box to show through. > > Best wishes. > > Michael Richardson > "phpzen" >

« previous php.dev (#84202) next »