camera-preview icon indicating copy to clipboard operation
camera-preview copied to clipboard

Don't have auto rotation

Open ManjorStreep opened this issue 4 years ago • 1 comments

Describe the bug If you lock a device rotation and capture one image in different rotation, the image won't rotate. This is shown with wrong orientation.

To Reproduce Steps to reproduce the behavior:

  1. Lock rotation android.
  2. Open the camera
  3. Capture image
  4. Move the device with another position o rotation
  5. See the image with wrong orientation.

Screenshots Image with 90 degrees of rotation in device 381-95 Expected image 381-95 - copia

Smartphone (please complete the following information):

  • Device: Android +5

ManjorStreep avatar Apr 28 '21 23:04 ManjorStreep

got the same issue. if you go to Preview.java and comment setCameraDisplayOrientation(); it fix the issue on my side

riderx avatar Mar 02 '22 04:03 riderx