EasyCam icon indicating copy to clipboard operation
EasyCam copied to clipboard

Photo inverted vertically when use front camera

Open Esvux opened this issue 4 years ago • 0 comments

The problem When I'm take a photo using front camera, the resulting image is flipped vertically.

How to reproduce the problem Steps to reproduce the behavior:

  1. Using the version easycam:0.0.3-rc5
  2. Setup new intent with this setup
CameraBundleBuilder()
       .setClearBucket(true)
       .setDoneButtonDrawable(R.drawable.ic_material_check)
       .setDoneButtonString("")
       .setManualFocus(false)
       .createCameraBundle())

  1. Start CameraControllerActivity
  2. Take some pictures using front camera
  3. Images taked with front camera are inverted vertically

Expected behavior Images in the correct orientation

Additional I'm thinking that the possible solution would be in the private method setupOrientationListener at CameraControllerActivity, considerate change the orientation value depending of selected camera.

Esvux avatar Nov 07 '20 04:11 Esvux