Originally posted by Elizabeth
How about rotating images and/or text, drawing common shapes, and trimming images?
-Elizabeth
GD already has built in image rotation- imagerotate().
As for text, one can supply the angle for TTF text, which is rotation. All the text functions I wrote have the ability to rotate, as well.
Common shapes - I like this idea, but imagepolygon() can pretty much do any shape. I suppose I can refine it by supplying a set of coordinates for a few shapes.
Trimming images - I'm surprised that's not included. This is fairly easy to do, and would be quite useful.
PyroX, what's wrong with colortransparent? I use it all the time. The only thing I don't like is when the color is in use by something else, and that ends up being transparent... I can't really think of a way around this, but I'd certainly like one. 🙂
Thanks for your input, both of you.