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
0 answers

How to combine two bitmaps into one so that their relative position should not be changed in rotating the combined one?

In my application,I want to combine two bitmaps for example a leaf and its shadow, in water.I am able to combine those bitmaps and make the combined bitmap freely fall from the top of the screen with some rotation in a live wallpaper.In my combined…
Itisme
  • 53
  • 6
0
votes
1 answer

Image rotation varies depending on the image

I have made an app in which user selects an image from gallery and that image is shown in the imageview.I have used resizing method to avoid Out of Memory issue.The problem is that when i select image which is having lower width and height the image…
Vishal
  • 11
  • 4
0
votes
1 answer

Rotate children elements with respect to center of parent

I need to rotate children elements with respect to the center of the parent element in WPF. Imagine you have a map and are looking at Chicago and it is in the center of your screen. You want to be able to rotate the map around the center of your…
Fred
  • 1,054
  • 1
  • 12
  • 32
0
votes
1 answer

how to set a delay needle rotation when activity start

i am creating an android app in which i want set delay in the rotation of needle when activity start anyone please tell me how to do this here is my code RotateAnimation ra = new RotateAnimation(currentDegree,altitude, …
0
votes
4 answers

Rotating a picture using mouse position in C#

Basically what I'm trying to do is have a picture rotate using mouse events. For example, while you hold down the left mouse button, the picture rotates when you move the mouse up and down. I found another question on here almost like mine (How do I…
Gaax
  • 540
  • 8
  • 18
0
votes
1 answer

Rotate raw pixel data of an image 180 degrees

I'm trying to rotate raw pixel data from a DICOM file by 180 degrees (or flipped). I've successfully flipped the image correctly, however, upon writing the pixel data back to the file (in this case it's a DICOM file) and displaying it. The final…
Joshua H
  • 839
  • 11
  • 24
0
votes
2 answers

What's the PHP command to rotate an image using GD or Imagemagick?

How can I request that PHP rotates an image a certain degree? Some images need to be rotated 90 degress clockwise and some need a 180 degree rotation. When I use this code: rotate picture.jpg -rotate 90 picture.jpg; I get the following…
Mike
  • 105
  • 12
0
votes
1 answer

Rotate one Image on Center of another Image using javascript or jQuery

Hello I am lilbit new to Javascript and Jquery. i want to move earth(image) around sun(image) but i dont want to use any jQuery-plugin. I have tried few Option but it is not working. So If there is anyway(i guess it is) then plz answer. Thanks in…
Kiranaditya
  • 449
  • 1
  • 5
  • 15
0
votes
2 answers

i want to rotate image in center point only of the image and rotation tools stick on top left to image

i'm using Kineticjs to make tools in canvas to resize it or rotate but when i try to rotate it tool drag away of it and image have a wrong rotate chick the link of my code http://jsfiddle.net/vipmaa/qFmsM/3/ $(document).ready(function(){ …
vipmaa
  • 1,022
  • 16
  • 25
0
votes
1 answer

jQuery Rotate prevent stacking function after a click

fiddle link Hello, I am using this jQueryRotate plugin to rotate my div's after a user clicks on the button. I would like to stop stacking the rotation after the button is clicked more than once. It just keeps on speeding up. I have researched it…
Marek
  • 307
  • 3
  • 13
0
votes
1 answer

Missile Rotation of Image and Direction C#

I have been fiddling with MathHelp.Lerp(); trying to find the easiest way to rotate the direction the missile is traveling. Right now it will instantly go the direction the player/mouse is located. Would Larp be the best to use or would some other…
Ryan Foy
  • 322
  • 6
  • 19
0
votes
1 answer

Rotating image on top of another image

I have a method that I want to rotate an image when the user enters the number of degrees to rotate it. The method does that, but the thing is it's rotating the image so that the new image lays on top of the old one (which I don't want it to do; I…
user3337808
  • 11
  • 1
  • 4
0
votes
1 answer

Rotate image on touch for iphone

I am very new to objective C and iPhone app development. I have experience in PHP and java and obviously this language is very different. Right now what I'm trying to do is rotate an arrow when its touched. All I need is a method that rotates the…
0
votes
2 answers

Calculate image rotation based on old and new positions of two points

I have images of faces in different positions. I want to rotate them, to make the line connecting the eyes always be horizontal. But I don't know how to do this in MATLAB. And how can I calculate the angle of rotation? Descriptive drawing of…
Shudy
  • 7,806
  • 19
  • 63
  • 98
0
votes
1 answer

getting the right image observer for rotating an image

So Im drawing a BufferedImage 'bird' but I want to rotate it according to the angle that it is falling. I have a bird object which contains the BufferedImage and a render() method which draw it rotated. public void render(Graphics2D g, ImageObserver…
Acor74u
  • 17
  • 5