note 67726 rejected from function.imagerotate by bjori
| From: | bjori@php.net | Date: | Fri, 09 Jun 2006 10:01:34 +0000 |
| Subject: | note 67726 rejected from function.imagerotate by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-114142@lists.php.net to get a copy of this message | ||
Note Submitter: blahblahbloodyblah at gmail dot com
----
The documentation says : "The center of rotation is the center of the image, and the rotated
image is scaled down so that the whole rotated image fits in the destination image - the edges are
not clipped."
however having just tried it* it seems that instead the generated image is larger to fit the rotated
image.
I wish i tried it first before working out the math to scale the image up the appropriate size
before rotation to accomodate for the expected scaling down :)
*PHP Version 5.0.4, GD Version bundled (2.0.28 compatible)