I've searched and searched and I cannot find an answer to this...
I'm trying to make an image using GD that has a transparent background and anti-aliased text in it. Unfortunately, this seems completely impossible but I'm sure I'm totally missing something.
I'm new to GD, so I hope I'm just missing something really simple.
Here's examples:
http://www.xbg4y.com/test.html
The top one is imagefill white with black text.
The bottom one is imagefill white, imagecolortransparent white, and then black text.
In an attempt to anti-alias, it does it as if it were still on the white background instead of anti-aliasing into transparency. I know you can turn off anti-aliasing, but then there would be no point in using GD to begin with...
Any ideas...? Is there something fancy you can do with alpha channels?
|