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

QImage::convertToFormat: wrong conversion from RGBA64 to RGBA16FPx4

    XMLWordPrintable

Details

    • Windows
    • c0a448d5c (dev), 2f59eee2b (6.7), 82fff69aa (6.6), b5a952fb2 (tqtc/lts-6.5), 5c4800a40 (tqtc/lts-6.2)

    Description

      When converting an ARGB32 image to RGBA64 and then to RGBA16FPX4 I get a wrong result compared to converting the ARGB32 to RGBA16FPX4 directly (see attached images).
      I have the same problem in the conversion to RGBA32FPX4.

      Furthermore, in the conversion from RGBA64 to RGBA16FPx4 I also have a different result if I use "convertToFormat()" instead of "convertTo()" (the second one give the correct image).

      The problem does not exist using the same QT version on Mac M1.

      I attached also the program used to generate the screenshots.

      Attachments

        For Gerrit Dashboard: QTBUG-120614
        # Subject Branch Project Status CR V

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            mircomir Mirco Miranda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes