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

Photo rotated after being decoded into an image

So I have this activity in my app which's supposed to take a picture and then send it to another activity. I forced the orientation to be on portrait mode, and yet, after I take a picture and decode it into a bitmap, it rotates in a seemingly random…
Misha
  • 111
  • 1
  • 8
0
votes
1 answer

rotating collection of spheres with respect to the z-axis

I have coordinates (x,y,z) of the center of spheres stored in a numpy array. I want be able to rotate the spheres with respect to the z-axis but am getting weird results. My code does the rotation but it seems to also be moving it up and right.…
still learning
  • 157
  • 2
  • 14
0
votes
1 answer

jQuery images rotate based on direction of cursor

So i have an oven that has knobs that rotate on mouse over. They unfortunately only go clockwise. Is there some way i can log which way the cursor enters the image, from the right or left and rotate it accordingly? I.E if from left, rotate…
Rygo
  • 159
  • 1
  • 8
0
votes
0 answers

Optimizing OpenGl Rotation of a 2D grayscale image on iphone

I am rotating an image on the iPhone. It is a full size grayscale image (3264 by 2448 on the 4s). OpenGl appears to be roughly twice as fast as core graphics by my measurements, running about 1.22 seconds as opposed to 2.6 seconds. But this is…
user938797
  • 167
  • 3
  • 15
0
votes
1 answer

JQuery Mobile, alternating images breaks "Back" button

For a JQuery Mobile site, I need an new image to load on page navigation. The image only displays on the homescreen. So for example, you load m.smellyeggs.com which has image_A.png as the top banner. You select menu item 1, then press back and now…
robbiep
  • 113
  • 1
  • 10
0
votes
0 answers

Rotation algorithm not producing expected results

I am trying to port some code from IDL to C, and I find myself having to replicate the ROT function. The goal is to rotate a 1024x1024 array of unsigned shorts by an angle in degrees. For the purposes of this project, the angle is very small, less…
Frank Harris
  • 305
  • 1
  • 6
  • 16
0
votes
1 answer

image rotation with white background

I guess this one is rather simple for those who use GDI more frequently. I have an image that I want to rotate. Sample image: After I apply my rotation, it looks like the following: Here's the code used: public Bitmap RotateBitmap(Bitmap bitmap,…
Sebastian Edelmeier
  • 4,095
  • 3
  • 39
  • 60
0
votes
2 answers

Image rotation on popup window

I have a popup window called braviPopUp which I use to show images, I'm also rotating these images using a library jqueryrotate, however when I try to rotate the image using this function call : $('#img').rotate({ animateTo: 90}); I change the popup…
SVI
  • 921
  • 4
  • 11
  • 23
0
votes
1 answer

Expanding the drawing on canvas for android

So the scenario is that I have a surfaceView of size 640 x 480 on which I am showing on camera preview. Now I draw a something vertically on the screen. After that I am rotating the canvas using canvas.rotate(90, getWidth()/2, getHeight/2); Once I…
user2453055
  • 975
  • 1
  • 9
  • 19
0
votes
1 answer

Android - how to scale/move/rotate the imageviews on a imageview

I need to implement image editor project. basically, I need to add some icons,text over an input image then export to final image. Is there any good tutorial for this?
Huy Tran
  • 217
  • 5
  • 11
0
votes
1 answer

Smoother Slow Rotating UIImage

I'm trying to make an iPhone/iPad app, and I am currently trying to have an image spin slowly 360 degrees. But when I increase the animation duration, the picture rotates 1/4 of the way and then resets back to the beginning of the animation. Can…
Abdou Sarr
  • 142
  • 7
0
votes
0 answers

No change in image rotation using php imagerotate()

Ok.. now I have been trying this for long time now. I am trying to rotate image if it has some orientation . I got reference from Here I also refered this Here is function I am using function adjustPicOrientation($full_filename){ $exif =…
alwaysLearn
  • 6,882
  • 7
  • 39
  • 67
0
votes
1 answer

how do i create stackable images in android?

I have a requirement where i have to rotate the image and stack 3 images on top of each other .
Preethi
  • 2,112
  • 7
  • 38
  • 54
0
votes
1 answer

Orientation of Image captured using Camera instance behaves differently for different Android devices

The orientation of the image captured is causing problems across devices in Android. In some devices the orientation of the image captured is not recorded in the EXIF while in other devices it is recorded. Is there a proper demarcation as to which…
rahulg
  • 2,183
  • 3
  • 33
  • 47
0
votes
1 answer

Highchart renderer image rotation is not working in IE10

I need to add an image in highchart and then need to rotate it on different angles. Here is the example: http://jsfiddle.net/peZfm/ And the rotation code: chart.renderer .image('http://graphs2.stormgeo.com/Images/Arrows/layout%202/0/test.png',…
shaaaa
  • 425
  • 3
  • 7
  • 18