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

lose alphachannel in imagedata from QClipboard

    XMLWordPrintable

Details

    • Windows
    • 8cb78647e3 (qt/qtbase/dev) 8cb78647e3 (qt/tqtc-qtbase/dev) 8edb27d7df (qt/qtbase/6.4) 8edb27d7df (qt/tqtc-qtbase/6.4) 8edb27d7df (qt/tqtc-qtbase/6.4.0) 6d3f165c9f (qt/tqtc-qtbase/6.2)

    Description

      Image from QClipboard will lose alpha.

      In 5.15.2

      auto image = QGuiApplication::clipboard()->image();
      

      image.format() will be QImage::Format_ARGB32.

      but in 6.2.4 format will be QImage::Format_RGB32.

      So Image will fill with #ffffff in background.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            kavilin kavi lin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes