Android Camera width and height dependent on orientation?
-
01-10-2019 - |
Question
Does camera width and height in Camera.Parameters change when we change orientation from portrait to landscape ?
Solution
If you are asking about the preview width and height then yes it depends on the orientation. Although I don't think it changes on its own. More info [here](http://developer.android.com/reference/android/hardware/Camera.Parameters.html#setPreviewSize(int, int))
If you are asking about the image that needs to be captured then no orientation should not have any effect on the width and the height.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow