[Mono-bugs] [Bug 75432][Nor] New - GetPixel fails on 8bppIndex image, but works on MS

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jul 1 01:43:46 EDT 2005


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 peter at novonyx.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75432

--- shadow/75432	2005-07-01 01:43:46.000000000 -0400
+++ shadow/75432.tmp.9009	2005-07-01 01:43:46.000000000 -0400
@@ -0,0 +1,31 @@
+Bug#: 75432
+Product: Mono: Class Libraries
+Version: 1.1
+OS: unknown
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: 4lw0e0402 at sneakemail.com                            
+ReportedBy: peter at novonyx.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Summary: GetPixel fails on 8bppIndex image, but works on MS
+
+The attached application fails when run on Linux (using our own 
+libgdiplus) but succeeds when run with Microsoft's GDI+.
+
+The failure is inside MagnifyBitmap, when trying to call GetPixel on a 
+8bppIndexed bitmap.
+
+I've added a CWL that shows the pixel format and retrieves the 0/0 pixel. 
+On Microsoft that call (and the whole routine) succeeds.
+
+The libgdiplus bitmap.c:GetPixel routine refuses to return the pixel value 
+if the image is indexed, but it seems that Microsoft does not behave that 
+way.
+
+Tested against svn head.


More information about the mono-bugs mailing list