Important: Please read the Qt Code of Conduct -

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;
    camera.viewfinder.resolution.width = w;
    camera.viewfinder.resolution.height = h;

Log in to reply