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

Windows: qt_imageFromWinHBITMAP does not convert a HBITMAP correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.1
    • 5.2.1, 5.3.0 RC1
    • Extras: Win
    • None
    • Windows
    • d3d8ade87b74c541cc3baa67b9972d6471864c25 (stable. 26.5.2014, 5.3.1)

    Description

      Windows: qt_imageFromWinHBITMAP does not convert a HBITMAP correctly, particularly with respect to the alpha channel.

      Attached is an example that reproduces the problem with an image too.

      Attachments

        1. main.cpp
          0.9 kB
        2. test.bmp
          370 kB
        3. qtbug39084.tar
          380 kB

        Issue Links

          Activity

            People

              kleint Friedemann Kleint
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: