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

Photo is rotated when using the camera in landscape orientation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • 6.5.2
    • 6.5
    • Multimedia
    • None
    • Samsung S20-FE & S21
    • Android
    • 2023wk30FOQtforAndroid, 2023wk32FOQtforAndroid

      When taking a photo in landscape mode, the resulting file (JPG) is 90 degrees rotated.

      I have tried using ffmpeg and native backend. Same result in both cases.

      Steps:

      1. Download example: declarative-camera
      2. Change the location where the photo will be stored to an accessible directory: i.e. /storage/emulated/0/Documents
      3. Compile and install app in Android
      4. Take a photo using landscape (horizontal) orientation
      5. Open the photo using a tool like Gallery

      Note: This issue happened after porting from Qt5. It wasn't a problem before.

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

            bartlomiejmoskal Bartlomiej Moskal
            dmendizabal Daniel Mendizabal
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes