Questions tagged [image-rotation]

Image rotation is performing a geometric rotation with certain angle on a particular image.

Image rotation is performing a geometric rotation with certain angle on a particular image. An image can be rotated by a positive angle or negative angle, which will rotate the image clockwise or counterclockwise. Rotating an image by 360 degrees or -360 degrees will actually result in the same image as the original image, while rotating on 180 or -180 degrees will display an inverted copy of the original image.

844 questions
0
votes
2 answers

How to determine image state when transformed by user

Ok the title might be vague but here is what I want to do. My application has two wheels. User can rotate the outer wheel to match values in the inner wheel and thus displaying certain results according to the selected value. Now I can rotate the…
0
votes
1 answer

Calculate the rotation of image view animation according to speed

I am creating animation using 60 image and also creating animation performed through touch move events. I am also calculate speed (velocity) of touch move points. And now i want to perform animation like if speed is fast then animated images rotate…
Leena
  • 109
  • 1
  • 10
0
votes
2 answers

HTML5 rotating image from centerpoint

While trying to learn some HTML5 animation I came upon this problem: while trying to rotate an image based on the mouse position on canvas the rotation point is on the top left corner instead of image center. From limited experience I know that in…
Tomkarho
  • 1,789
  • 3
  • 19
  • 25
0
votes
1 answer

Rotate a UIImageView according to UIWindow Orientations?

I have a UIImageView in bottom side of UIWindow. I want it to always display it in bottom side whatever the orientation is, but having trouble implementing it. Any Solution for this ?
Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256
0
votes
1 answer

PHP GD - imagerotate for a jpeg image is not working

Title says JPEG. But I tried PNG. It didn't work. GD supports imagerotate function. if (function_exists('imagerotate')) { echo "test"; } It outputs the word test. So i assume I have imagerotate function. $im = imagecreatetruecolor($width +…
Mahesh
  • 1,503
  • 3
  • 22
  • 33
0
votes
1 answer

Control rotation of Image in Wp7

I am making an Wp7 application where I need to rotate image with the 20 degree left or right. When I change the angle of rotation of Image , it does rotate but the rotation is from down side of this image Following is the image snap shot at its…
Zeshan Aman
  • 103
  • 3
  • 13
0
votes
1 answer

Android: Rotate animation and move animation combination

I have an ImageView image. I need to rotate this image 90 degrease right and after that to move this image from left to right. I managed how to do that. I used AnnimationListener and after rotation finished I started moveAnimation(). But before…
haawa
  • 3,078
  • 1
  • 26
  • 35
0
votes
1 answer

Rotating speedometer needle gauge around its center as the speed changes

Hi all, I have written an application where I have a speedometer with a needle vertically set at 90 degree and I am trying to rotate the needle around its center with the speed that changes for every one second(I am displaying the speed in a text…
Randroid
  • 3,688
  • 5
  • 30
  • 55
0
votes
2 answers

how to rotate an image in css3

I'd like to make a rotation of an image, so I red that we can do that width .rotate { -webkit-transform: rotate(-9deg); -moz-transform: rotate(-9deg); transform: rotate(-9deg);} but, this is if you want to rotate it according to z axis (…
Miles M.
  • 4,089
  • 12
  • 62
  • 108
0
votes
1 answer

Rotating a png image about its bottom center from within a .js file

First of all, let me quickly explain why I brought this up despite similar question here: Canvas rotate from bottom center image angle? All the information I have seen so far is concerned with javascript embedded in html markup. I do not know…
Alex Eftimiades
  • 2,527
  • 3
  • 24
  • 33
0
votes
3 answers

UIImageView Rotation and zooming in iPhone Sdk

i'm implementing zooming and rotation using UIImageview in my project, i'm facing problem in zoom in and zoom out after rotating the image, Here is my code follows: in .h file @interface ViewController : UIViewController{ float degrees; float…
VSN
  • 2,361
  • 22
  • 30
0
votes
1 answer

Why am I able to rotate small photos, but not large photos using PHP's imagerotate() function?

I have written a PHP script that allows me to rotate an image, by using PHP's imagerotate() function. It works great with most of the photos I have tested. However, the script crashes when trying to rotate larger photos ( > 644 KB, 2112px x 2816px).…
Ajay Mohite
  • 119
  • 3
  • 13
0
votes
4 answers

UIImageView rotation animation in the touched direction

I have one UIImageView having an image of an arrow. When user taps on the UIView this arrow should point to the direction of the tap maintaing its position it should just change the transform. I have implemented following code. But it not working as…
Prerna chavan
  • 3,179
  • 7
  • 35
  • 77
0
votes
1 answer

Making copied images all rotate independently

I think my issue has something to do with deep vs. shallow cloning, which I have not really worked with before, and cannot seem to understand by reading articles(You can tell I'm not a professional programmer). This is a small game I am making and…
Vynlar
  • 55
  • 1
  • 7
0
votes
2 answers

Javascript flip/mirror an image

Does anyone know if its possible to flip an image and have content on its back. This is what I mean: Imagine holding a portrait in your hand. You then flip and look at the BACK of the portrait and the back has writing there. Im looking for something…
Airon Zagarella
  • 707
  • 2
  • 11
  • 17