I’m implementing some new ideas into GD over FastCGI and one of them is based on an NGINX module for creating gif circles.
Why do such a thing? They can be used to create rounded corners on HTML elements!
Unfortunately, and surprisingly, GD doesn’t support anti-aliasing alpha channels! Its surprising because it handles anti-aliasing with TrueType fonts so incredibly well.
I guess a workaround could be to find a TrueType font that has an exact circle character and use that instead of manually drawing a circle.
Alas, its not really necessary at all, because the only browser which really needs something like this is Microsoft Internet Explorer, and the versions which need it don’t even support PNGs with alpha channels (out of the box).