[Mono-bugs] [Bug 68117][Nor] New - HorizontalResolution and VerticalResolution of System.Drawing.Image return 0
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 12 Oct 2004 13:12:12 -0400 (EDT)
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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=68117
--- shadow/68117 2004-10-12 13:12:12.000000000 -0400
+++ shadow/68117.tmp.22183 2004-10-12 13:12:12.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 68117
+Product: Mono: Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: HorizontalResolution and VerticalResolution of System.Drawing.Image return 0
+
+Both HorizontalResolution and VerticalResolution of an
+System.Drawing.Image return 0 using CVS HEAD on Linux.
+
+I've attached a repro that load a JPEG from file and outputs some
+information of the loaded image.
+
+This results in the following output on Mono :
+
+horizontal resolution: 0
+vertical resolution: 0
+height: 600
+width: 800
+size: {Width=800, Height=600}
+raw format: Jpeg
+
+The results on MS.NET are :
+
+horizontal resolution: 72
+vertical resolution: 72
+height: 600
+width: 800
+size: {Width=800, Height=600}
+raw format: [ImageFormat: b96b3cae-0728-11d3-9d7b-0000f81ef32e]
+
+(it kinda strange that MS.NET does not recognize the image as a JPEG
+though)
+
+To run the repro, just extract the (gzipped) tar archive, and run "make".