Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82697

QML CameraCapture supportedResolutions contains duplicates

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 5.15.16
    • 5.12.7
    • Multimedia
    • None
    • iOS/tvOS/watchOS
    • 090d1e336 (tqtc/lts-5.15)

    Description

      Does not seem to happen on android. Maybe these are because of framerates? I don't know, but I think if it is a framerate thing, then t hey should be included, but if not, it should be duplicate-free.

      {{ onPositionChanged:

      { console.log("supportedResolutions", JSON.stringify(imageCapture.supportedResolutions)); }

      }}

      Example iPhone XS Rear camera:
      supportedResolutions [

      {"width":192,"height":144}

      ,

      {"width":192,"height":144}

      ,

      {"width":352,"height":288}

      ,

      {"width":352,"height":288}

      ,

      {"width":480,"height":360}

      ,

      {"width":480,"height":360}

      ,

      {"width":640,"height":480}

      ,

      {"width":640,"height":480}

      ,

      {"width":960 ,"height":540}

      ,

      {"width":960,"height":540}

      ,

      {"width":1024,"height":768}

      ,

      {"width":1024,"height":768}

      ,

      {"width":1280,"height":720}

      ,

      {"width":1280,"height":720}

      ,

      {"width":1440,"height":1080}

      ,

      {"width":1440,"height":1080}

      ,

      {"width":1920,"height":1080}

      ,

      {"width":1920," height":1080}

      ,

      {"width":1920,"height":1440}

      ,

      {"width":1920,"height":1440}

      ,

      {"width":3088,"height":2316}

      ,

      {"width":3088,"height":2316}

      ]

      Example iPhone XS Front camera:
      [

      {"width":192,"height":144}

      ,

      {"width":192,"height":144}

      ,

      {"width":352,"height":288}

      ,

      {"width":352,"height":288}

      ,

      {"width":480,"height":360}

      ,

      {"width":480,"height":360}

      ,

      {"width":640,"height":480}

      ,

      {"width":640,"height":480}

      ,

      {"width":960 ,"height":540}

      ,

      {"width":960,"height":540}

      ,

      {"width":1024,"height":768}

      ,

      {"width":1024,"height":768}

      ,

      {"width":1280,"height":720}

      ,

      {"width":1280,"height":720}

      ,

      {"width":1440,"height":1080}

      ,

      {"width":1440,"height":1080}

      ,

      {"width":1920,"height":1080}

      ,

      {"width":1920," height":1080}

      ,

      {"width":1920,"height":1440}

      ,

      {"width":1920,"height":1440}

      ,

      {"width":2592,"height":1944}

      ,

      {"width":2592,"height":1944}

      ,

      {"width":3264,"height":2448}

      ,

      {"width":3264,"height":2448}

      ,

      {"width":3840,"height":2160}

      ,

      {"width":3840,"height":2160}

      ,

      {"width":4 032,"height":3024}

      ,

      {"width":4032,"height":3024}

      ]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            jasonapk Jason Hihn
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes