Camerakit-android: Preview distorted in landscape orientation

Created on 9 Mar 2017  Â·  16Comments  Â·  Source: CameraKit/camerakit-android

Most helpful comment

@dwillmc Any update on this?

All 16 comments

Hi,

I expierence the same! My activity is in landscape and the camera preview shows a weird angle. But the pictures are taken correctly.

Are you going to fix this soon? I really want to use this library, but I need a solution for this in the next days :(.

Please, please, please!

I'll try to put a fix in for this tomorrow

awesome! many thanks!

Hi,

will there be a fix soon? Can I help somehow?

Greetings

Looking into this now

Just updated to 0.9.15 and the preview is no longer distorted! Great work.

However, it's now 90 degrees out of rotation in landscape mode 😞

In landscape mode the preview is rotated 90 degrees for me as well.
The output image is still the correct orientation, it's just the preview is off.

@dwillmc Any update on this?

I don't have a lot of devices but #39 is what worked for my device. @pmb516 @kevcgrant , since you also reported rotation issues, would you mind checking out this branch and trying it on your device? Thanks!

I will try tonight and post my findings

On Mar 23, 2017 4:18 AM, "Andrei Diaconu" notifications@github.com wrote:

I don't have a lot of devices but #39
https://github.com/gogopop/CameraKit-Android/pull/39 is what worked for
my device. @pmb516 https://github.com/pmb516 @kevcgrant
https://github.com/kevcgrant , since you also reported rotation issues,
would you mind checking out this branch and trying it on your device?
Thanks!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gogopop/CameraKit-Android/issues/19#issuecomment-288688450,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK2ptJiZKhP1VHNCXPC31BHcnLK0EaStks5rolUcgaJpZM4MYGjU
.

@andreidiaconu I checked out your branch and tested, everything works except if you use Still mode, the output is rotated 90 degrees. The preview is correct for both Standard and Still modes, and the output is correct for Standard as well

when i set activity landscape

in xml set CameraView
width="match_parent"
height="476px"

Preview still distorted

Now fixed, please update to 0.9.18.

Hi im having the same distortion when I use android:configChanges="orientation|screenSize|keyboardHidden" in my Activity using 0.9.18.

Correct:
device-2017-09-18-143535

Incorrect
device-2017-09-18-143517

This issue is still not OK on 0.12.3 latest. Do you have any clue?

I need to confirm, as this seems like a dup of another issue, but reOpened for now!

Was this page helpful?
0 / 5 - 0 ratings