Image Alpha Channels

From: Date: Mon, 20 May 2002 22:44:50 +0000
Subject: Image Alpha Channels
Groups: php.dev 
Request: Send a blank email to php-dev+get-84201@lists.php.net to get a copy of this message
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 (#84201) next »