Pergunta

Does camera width and height in Camera.Parameters change when we change orientation from portrait to landscape ?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top