View Full Version : GD Library Help
10-30-2007, 06:22 PM
For whatever reason imagerotate() does not expand the size of the image canvas when working in a GD image. How can I clip off the edges so that the rotated image is square again? The client needs to be able to rotate the image -5 to 5 degrees, and I want to clip all non-square edges.
10-30-2007, 09:10 PM
Have a look at the user comments in the manual (http://us3.php.net/manual/en/function.imagerotate.php)for the function, you may find something that works for you.
10-30-2007, 10:52 PM
Do you have a working example?
And is the image a .gif with a transparent background?
I'm not quite understanding the "square edges" part.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.