add 8-bit alpha channel support for TrayIcon on Windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 7
    • Component/s: client-libs
    • x86
    • windows

      TrayIcon implementation lacks for ability to use scaled transparency.
      Currently it uses only 1 bit to convey transprency of a pixel.
      Thus it can't convert GIF/JPEG/PNG image that uses alpha channel
      into an icon without imformation loss.

      In order to fully support alpha channel we should use
      BITMAPV4HEADER/BITMAPV5HEADER Windows native structure instead of
      BITMAPINFOHEADER. The latter was used by Windows of old versions.

      Originally, the issue has been risen in the JDIC project:
      https://jdic.dev.java.net/issues/show_bug.cgi?id=350
      The fix it provides is put into the Suggested Fix area.

            Assignee:
            Dmitry Cherepanov (Inactive)
            Reporter:
            Anton Tarasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: