Looking at the documentation of Qt5 it seems possible to change the pixel format of the camera. I need to create a QCameraViewfinderSettings
set the new pixel format and set the new settings to the camera... like in this example
QCameraViewfinderSettings viewfinderSettings;
viewfinderSettings.setPixelFormat(QVideoFrame::Format_RGB32);
camera->setViewfinderSettings(viewfinderSettings);
But I cannot find anything similar in QML... Is there any way to do the something in QML? I'd like something like:
Camera {
id: camera
viewfinder.pixelFormat = VideoFrame.Format_RGB32
}
If QML doesn't allow me to set the pixel format what alternatives have I?