Changing camera capture mode not working.
-
Hi,
I want to capture image as well as video on button. But changing mode is not working. I initialise camera with video capture mode and on button click event I pass below to capture still image but not working no file is created.
camera->setCaptureMode(QCamera::CaptureStillImage); imageCapture->capture();
Please help!!
-
Hi,
I want to capture image as well as video on button. But changing mode is not working. I initialise camera with video capture mode and on button click event I pass below to capture still image but not working no file is created.
camera->setCaptureMode(QCamera::CaptureStillImage); imageCapture->capture();
Please help!!
@Bonty Why don't you use https://doc.qt.io/qt-6/qimagecapture.html#captureToFile if you want to capture to a file?
Else you have to store the captured image data to a file. -