note 67726 added to function.imagerotate
| From: | blahblahbloodyblah at gmail dot com | Date: | Fri, 09 Jun 2006 09:50:39 +0000 |
| Subject: | note 67726 added to function.imagerotate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-114139@lists.php.net to get a copy of this message | ||
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)
----
Server IP: 84.18.202.180
Probable Submitter: 82.153.59.253
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.imagerotate.php
Edit -- http://master.php.net/note/edit/67726
Del: integrated -- http://master.php.net/note/delete/67726/integrated
Del: useless -- http://master.php.net/note/delete/67726/useless
Del: bad code -- http://master.php.net/note/delete/67726/bad+code
Del: spam -- http://master.php.net/note/delete/67726/spam
Del: non-english -- http://master.php.net/note/delete/67726/non-english
Del: in docs -- http://master.php.net/note/delete/67726/in+docs
Del: other reasons-- http://master.php.net/note/delete/67726
Reject -- http://master.php.net/note/reject/67726
Search -- http://master.php.net/manage/user-notes.php