note 90826 rejected from function.imagerotate by danbrown
| From: | danbrown@php.net | Date: | Mon, 11 May 2009 21:58:37 +0000 |
| Subject: | note 90826 rejected from function.imagerotate by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154482@lists.php.net to get a copy of this message | ||
Note Submitter: admin at daddydago dot com
----
I have been trying to rotate an image for a while now but I cant get it to work right. It seems to
be rotating the image not the whole canvas. I have tried many of the functions on this page but
couldn't get any of them to work right
I am trying to rotate the image, then resize it , then save it, and store the details in my db. The
only thing I cant get working right is the rotation (it works but clips parts of the image and fills
portions with black space. Must use GD as I don't have ImageMagic
Can anyone tell me how I can rotate the image and not loose any part of it due to hanging over the
sides.
I will give you free advertising on the website I will be using this on if you can help me. http://myiphonebackgrounds.com I would be happy to give
you a permanent banner along the side of all pages or put in the top banner rotation plus a friends
site link.
my source variable is $oldImage and I would like to store the rotated image into that same image
file. the size of the imgae is in $width and $height. for now I would like to rotate the image 90 or
270 degrees but in the future I would like to do more.