[Mono-bugs] [Bug 426305] [PATCH] Wrong TextureBrush transparency

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 31 11:51:33 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=426305

https://bugzilla.novell.com/show_bug.cgi?id=426305#c7


Dick Porter <dick at acm.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dick at acm.org
            Summary|Wrong TextureBrush          |[PATCH] Wrong TextureBrush
                   |transparency                |transparency

--- Comment #7 from Dick Porter <dick at acm.org> 2011-03-31 15:51:32 UTC ---
Here's a patch to libgdiplus that fixes this bug, while not breaking bug 324503
(the fix for that introduced this bug!)

It removes the premultiplication when loading PNGs, as no other image format
does the same.  It then adds premultiplication when calling assorted Draw*()
functions in image.c, except when the graphics context is a memory bitmap (so
that if an image is drawn onto another image, it doesn't get premultiplied
multiple times.)

OK to commit?

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list