note 90826 added to function.imagerotate

From: Date: Mon, 11 May 2009 21:57:28 +0000
Subject: note 90826 added to function.imagerotate
Groups: php.notes 
Request: Send a blank email to php-notes+get-154481@lists.php.net to get a copy of this message
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. ---- Server IP: 209.41.74.194 Probable Submitter: 173.49.16.244 ---- Manual Page -- http://www.php.net/manual/en/function.imagerotate.php Edit -- https://master.php.net/note/edit/90826 Del: integrated -- https://master.php.net/note/delete/90826/integrated Del: useless -- https://master.php.net/note/delete/90826/useless Del: bad code -- https://master.php.net/note/delete/90826/bad+code Del: spam -- https://master.php.net/note/delete/90826/spam Del: non-english -- https://master.php.net/note/delete/90826/non-english Del: in docs -- https://master.php.net/note/delete/90826/in+docs Del: other reasons-- https://master.php.net/note/delete/90826 Reject -- https://master.php.net/note/reject/90826 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#154481) next »