[Mono-bugs] [Bug 78336][Nor] Changed - [OSX] Color Matrixes do not work right in OSX X11
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Aug 25 15:24:21 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78336
--- shadow/78336 2006-05-11 15:58:53.000000000 -0400
+++ shadow/78336.tmp.25858 2006-08-25 15:24:21.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 78336
Product: Mono: Class Libraries
Version: 1.1
OS: unknown
OS Details: Mac OSX X11
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Normal
Component: libgdiplus
AssignedTo: peter at novonyx.com
ReportedBy: don at edvalson.net
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Color Matrixes do not work right in OSX X11
+Summary: [OSX] Color Matrixes do not work right in OSX X11
The attached test case draws 5 images on a form. The images are drawn in
various ways by using color matrixes to remap colors around. The test app
runs perfectly under Mono WinForms on Windows XP, but the colors are
entirely messed up under Mac OSX X11.
@@ -56,6 +56,11 @@
new float[] {0, 0, 1, 0, 0}, // RED but should be green input
new float[] {0, 0, 0, 0, 0}, // ALPHA but should be blue input
new float[] {1, 0, 0, 0, 0}, // BLUE but should be alpha input
new float[] {0, 0, 0, 1, 0}};
+
+------- Additional Comments From sebastien at ximian.com 2006-08-25 15:24 -------
+The image drawing code, when used with a ImageAttributes (which use
+the ColorMatrix), depended on a macro (get_pixel_bgra) that was broken
+wrt endianess. This was fixed in SVN r64358.
More information about the mono-bugs
mailing list