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

Android: How to rotate my Bitmap using accelerometer?

i want to rotate my bitmap img which is a car steering using one axis of accelerometer. I have no idea how i can use it with matrix or calling the sensorchanged method in other class. My app is in landscape mode and i have two classes one for sensor…
user1422066
  • 29
  • 1
  • 7
0
votes
1 answer

Creating a round dice and detect a number which appears as a result at the specified postition when the dice stops rolling

I am developing an application in which there is one round dice like: When I click on the center of the image it rotates in first image is before rotation means initial state and second image is after rotation image and in this number 3 is shown…
Gypsa
  • 11,230
  • 6
  • 44
  • 82
0
votes
1 answer

How I can rotate, zoom and move Image in Android

I'm new in ANDROID and want to rotate, zoom and move an image in my own custom view. But I write all of them(rotate, zoom, move) in same onTouchEvent method. So when I move image, it is also rotated or I zoom image,it is moved. I have to handle them…
angaraeski
  • 468
  • 1
  • 6
  • 12
-1
votes
2 answers

How to make smooth rotation of image?

Currently i am using UIRotationGestureRecognizer to rotate my image and my image currently rotating smoothly. The code which i am using is CGFloat imageRotationDegree; if ([gesture state] == UIGestureRecognizerStateBegan || [gesture state]…
user930195
  • 432
  • 1
  • 5
  • 19
-1
votes
1 answer

Android: Set Recyclerview itemview width to take full screen after rotation

I have a recyclerview that display images from firebase, and using PhotoView to provide Zoom-in-out now i added a button to rotate images, but once the image is rotated the width would remain the same and when trying to zoom it won't zoom to full…
-1
votes
1 answer

Rotating image with trigonometric functions and image padding

While rotating image with trigonometric function we are using image padding. If we rotate without padding we have this picture: If we pad the picture, For instance with these codes: `Padding_Bottom_And_Top =…
-1
votes
1 answer

QGraphicsPixmapItem is not rotating correctly

I need to rotate a QGraphicsPixmapItem through a circle. That is, the circle always needs to be at the top left corner of the image and when I drag the circle, the image has to rotate. I set the rotation angle using setRotation and the rotation…
-1
votes
5 answers

Is it slider, cycle, carousel?

I need something like this (http://www.thomasville.com/). The image rotator with nice faded text and the numbers for navigation. I did a view source and saw bunch of js. I dont want to use too many of those js as I have constrain what I can uplaod…
-1
votes
1 answer

How to ng-repeat element's attribute?

I'm using an external script to rotate thumbnails (http://sladex.org/images-rotation/).
Rafff
  • 1,510
  • 3
  • 19
  • 38
-1
votes
1 answer

jquery animate problem

I need to modify this plugin to rotate images without waiting for animation to end. If you visit that link you might notice that animation restarts at the the end of previous animation but i want images back to back so i dont want to wait for end of…
Ayaz Alavi
  • 4,825
  • 8
  • 50
  • 68
-1
votes
1 answer

pivoting around the center of a control in three js

I asked a similar question recently but I am still struggling figuring out how to set the center of a three js control so that it can rotate. I keep finding examples about geometry, bounding boxes, pivot points, matrixes. but I can't seem to find a…
Bryan Dellinger
  • 4,724
  • 7
  • 33
  • 79
-1
votes
1 answer

How to fill black color in a rotated portion of an image with background of original image?

How to fill black color in a rotated portion of an image with background of original image? Note that, image gets sheared on sides only with very small displacement. The size of original and transformed image is same. This is what i have tried. Can…
erbal
  • 421
  • 5
  • 18
-1
votes
1 answer

Php, rotate and paste thumbnails in circle

I'm trying to create an image in the server, composed of 12 different images distributed in a circle (like the numbers in a clock: image corresponding to number 6 should be vertically flipped. Every new image rotates 30º), but I can't find the…
user997593
  • 423
  • 5
  • 16
-1
votes
2 answers

Prevent UIImageView from rotating with the device rotation

I am doing a compass and I dont want my uiimageview rotate when the user rotate the device. Is it possible to disable this? Thanks you.
-1
votes
1 answer

JniBitmapOperations rotation causes image corruption

i'm developing an app i which users can upload images from the camera to an event, i did it in the usual way, but when i got to the part of rotating it according to the Exif interface i would sometimes get OOM errors, which were really frustrating,…
Dan Levin
  • 718
  • 7
  • 16