Re: [GD-DEVEL] Rendering Transparent Text?
[email protected] ("Pierre Joye") Sat, 20 Dec 2008 21:07:10 +0100
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, On Sat, Dec 20, 2008 at 2:15 PM, SGreth <[email protected]> wrote: > Hi Pierre, > Unfortunately I wasn't trying to render text with a a transparent > background but rather render text transparent. Take a black canvas, then > render text on it, which would 'cut out' of the black canvas and thus be > transparent. The end result being something that looked like a stencil. Have you tried it? Using a color like rgba(0,0,0,127) and alpha blending disabled. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org