Hi,
I tried to use the camera2 example in landscape view. (#SupportedOrientations: landscape)
The preview image has been stretched and enlarged, but the photo is good. (see attachment)
I tried the following:
- changed cam.PreviewSize.Initialize(1920, 1080) -> cam.PreviewSize.Initialize(1080, 1920)
- created a landscape design variant
but these did not help.
I don't know, this is a bug or I'm doing something wrong.
Thanks in advance,
Attila
I tried to use the camera2 example in landscape view. (#SupportedOrientations: landscape)
The preview image has been stretched and enlarged, but the photo is good. (see attachment)
I tried the following:
- changed cam.PreviewSize.Initialize(1920, 1080) -> cam.PreviewSize.Initialize(1080, 1920)
- created a landscape design variant
but these did not help.
I don't know, this is a bug or I'm doing something wrong.
Thanks in advance,
Attila