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

QImage::save writes corrupt JPG files on iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.11.0
    • Image formats
    • None
    • Tested on iPhone 6
    • iOS/tvOS/watchOS

    Description

      The JPG imageFormat plugin writes corrupt images on iOS. It works fine on other platforms, also worked fine with Qt 5.9.5.

      Simplest way to reproduce:

      QImage(320, 240, QImage::Format_RGB888).save("test.jpg", "JPG");

       

      The bug is likely related to the embedded libjpeg(-turbo) library. The output is still corrupt when I'm using libjpeg functions directly (linking directly to Qt's libjpeg).

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            anszom Andrzej Szombierski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes