2009/5/3 Joel Holdsworth joel@airwebreathe.org.uk:
On Sat, 2009-05-02 at 22:56 +0200, Roderick Colenbrander wrote:
Why again did you need this specific alphablend method? The icon can't be converted to use some basic color keying for transparency or so?
The reason is that the outlines will look aliased, and there will be no drop-shadows - without alpha the Tango icons won't look better than the current set. Also, I figured that icon rendering should be fixed for the sake of wine as a whole - which I think it should. It seems like a good little task for a wine beginner, and indeed I've made a lot of progress
- I'm just a bit stuck.
The culprit is a transfer through StretchDIBits in user32 which strips the alpha channel. I can't see a way round it - using StretchBlt doesn't help, and neither does GdiTransparentBlt.
Another insentive: I suspect fixing this would also fix bug #201 which is now over 8 years old!
What format are your Tango icons in? Are you converting them to .ICO files as you go, or leaving them in PNG/some other known alpha channel supporting format?