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

[REGRESSION] Qt 4.6 and 4.7 for Maemo5 can't save a jpeg to disk

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 4.7.0
    • None
    • N900 Maemo5 PR 1.2, libqt4 (Qt 4.6) or libqt4-experimental (Qt 4.7)

    Description

      If create a QPixmap loading a JPEG file within and saves this image to disk (by using QPixmap::save) the saved image will be corrupted. I've tested it on Linux and Mac OS and it works, so the problem only happens on Maemo5.

      The tests were made only with jpegs, so I'm not aware of any problems with other image formats.

      Reproduced with Qt 4.6 and Qt 4.7 (experimental).
      Test case is attached.

      Attachments

        1. image.cpp
          0.7 kB
        2. image.jpg
          image.jpg
          28 kB
        3. image.pro
          0.3 kB

        Activity

          People

            kkalland Kim Motoyoshi Kalland (Inactive)
            jesus Jesus Sanchez-Palencia
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: