#403 closed enhancement (fixed)
win32 system tray should load image data from a buffer
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | minor | Milestone: | 0.11 |
Component: | platforms | Version: | |
Keywords: | win32 | Cc: |
Description
At the moment, the ugly code uses a temporary file to call LoadImage
.
We should do something better, see:
Change History (2)
comment:1 Changed 7 years ago by
Milestone: | 1.0 → 0.11 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 6 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/403
Note: See
TracTickets for help on using
tickets.
Has been done in r4637 using PIL +
win32gui.SetPixelV
(setting one pixel at a time is very inefficient, but we're typically dealing with 32x32 icons here so this doesn't really matter)