qml change the resolution before camera capture picture



  • Hi
    I want to display video with low resolution and capture image with the camera's highest resolution.
    I used this code but the image was captured from camera with low resolution.

    var w=camera.viewfinder.resolution.width;
    var h=camera.viewfinder.resolution.height;
    setMaxResulotion();
    camera.imageCapture.capture()
    camera.viewfinder.resolution.width = w;
    camera.viewfinder.resolution.height = h;
    

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.