I\'m making a skin previewer for my site; I need to rotate parts of an image to create a representation of this for my users to see.
The skin is a PNG file, and all part
I use that to rotate a PNG and preserve transparency color. Works like a charm. It's "basic GD".
$rotation = 135;
$handle_rotated = imagerotate($handle_not_rotated,$rotation,0);
imagealphablending($handle_rotated, true);
imagesavealpha($handle_rotated, true);
Don't know if it's what you're looking for?