Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QML Camera in portrait mode
In my application, I need to display Camera element in portrait to take portrait picture; however, seems that camera's viewfinder prefers landscape more which make it look strange. I've tried to rotate the element so that it look OK. But at the end, when image is captured, it's different from what I saw in the viewfinder.
Is there any way that I can use the Camera element in Portrait mode which will capture picture also in Portrait mode as I see in the viewfinder
Anyone can provide any help. Thanks.
Please be patient. If someone has information to share, they will. If you feel the need to bump the topic, please wait at least a day or two.
billouparis last edited by
Are you talking about Qt3D? If so did you already send this question to the Qt3D mailing list, or on the irc channel?
I'm talking about the usage normal QML Camera element for capturing image. Anyway, I've found some (probably working around) ways to make it work. Currently, I've managed to achieve this with either 1) use Camera element in a landscape Page or 2) rotate the viewfinder 90 degree CCW. However, any of these 2 ways will need to use Qt C++ to rotate the captured image later on so that post-processed image looks similar with the one seeing in the view finder.