how to rotate an image using php code?
So if for instance you want to rotate an image by 90 degrees, you can use:
$move90 = imagerotate($myimage,90);
//$myimage is the reference to the loaded image, eg through imagecreatefromjpeg
...Then just output that image as you would normally with, for instance, imagejpeg() and there you go!
Comments on this Question/AnswerHow can i set the image path to variable $myimage. how i include tag into that code..
By: anu, 21 Sep 2009 06:25:44
Reply to comments / post your own comment >>>
ASK A QUESTION
More images PHP QuestionsHow can I rotate an image?
How create albums as Facebook in Php by using code igniter
How can I add text to an image?
How to display multiple images in a form path came from database and images are store in Image folder(assume 10 images are uploded that i want to display)
how can i load images with php?