[Mono-bugs] [Bug 80842][Nor] Changed - DrawImage doesn't strech image exactly like MS GDI+

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Apr 13 16:45:01 EDT 2007


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=80842

--- shadow/80842	2007-04-12 16:11:59.000000000 -0400
+++ shadow/80842.tmp.5542	2007-04-13 16:45:00.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 80842
 Product: Mono: Class Libraries
 Version: 1.2
 OS: other
 OS Details: opensuse 10.2
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: libgdiplus
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: monkey at jpobst.com               
@@ -147,6 +147,18 @@
 			}
 			large.Save ("80842b.png", ImageFormat.Png);
 		}
 	}
 }
 
+
+------- Additional Comments From sebastien at ximian.com  2007-04-13 16:45 -------
+Scaling operations are handled by Cairo (not libgdiplus).
+
+IMO both Cairo and GDI+ output are bad (but Cairo is still better than
+MS). A single pixel made 16 bigger should be a block of the exact same
+color (all 256 pixels). But this is rather a corner case and I doubt
+Cairo or MS folks would find it worth a change ;-)
+
+We could make a special case for it or small values (the more cases
+the more slowdown we get) but I'm not sure if it's worth it. What was
+the original test case for the bug ?


More information about the mono-bugs mailing list