[Mono-bugs] [Bug 78892][Min] Changed - ImageFormat.ToString() should be human readable
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jul 19 21:21:04 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=78892
--- shadow/78892 2006-07-18 16:00:27.000000000 -0400
+++ shadow/78892.tmp.22469 2006-07-19 21:21:04.000000000 -0400
@@ -1,17 +1,17 @@
Bug#: 78892
Product: Mono: Class Libraries
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Minor
Component: Sys.Drawing.
-AssignedTo: peter at novonyx.com
+AssignedTo: sebastien at ximian.com
ReportedBy: scottell.lists at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: ImageFormat.ToString() should be human readable
@@ -30,6 +30,26 @@
MS.NET 2.0 returns:
Png
Mono/libgdiplus 1.1.16.1:
[ImageFormat: b96b3caf-0728-11d3-9d7b-0000f81ef32e]
In earlier versions, this worked correctly.
+
+------- Additional Comments From sebastien at ximian.com 2006-07-19 21:21 -------
+You're right. I did a change (to fix the unit tests) but it wasn't
+completely correct. Under MS the ImageFormat.Png static property isn't
+considered the same ImageFormat as a new one created with the same
+Guid (see sample). I'll fix this asap.
+
+using System;
+using System.Drawing.Imaging;
+
+public class T {
+
+ public static void Main ()
+ {
+ ImageFormat png = new ImageFormat (ImageFormat.Png.Guid);
+ Console.WriteLine (png);
+ Console.WriteLine (ImageFormat.Png);
+ }
+}
+
More information about the mono-bugs
mailing list