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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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); + } +} + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
