top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How an image can be Roatated using php code?

+1 vote
301 views
How an image can be Roatated using php code?
posted Jun 18, 2014 by Amritpal Singh

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There is a function within PHP called imagerotate that will do this for you.

Suppose you want to rotate an image by 90 degrees, you can use:
<?php $move90 = imagerotate($myimage,90); //$myimage is the loaded image, ?>

answer Jun 19, 2014 by Karamjeet Singh
Similar Questions
0 votes

I have created a form which take in values like
NAME
ADDRESS
EMAIL ID
PHOTO
PHONE NUMBER

i want to add these values into database, but i am having a problem in inserting the Image (photo).

...