[Mono-bugs] [Bug 80751][Maj] New - Non-inverted bmp files are displayed upside-down.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 7 13:52:38 EST 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 josecoig at cae.net.


--- shadow/80751	2007-02-07 13:52:38.000000000 -0500
+++ shadow/80751.tmp.27712	2007-02-07 13:52:38.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 80751
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: SUSE 10.1
+Status: NEW   
+Priority: Major
+Component: libgdiplus
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: josecoig at cae.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Non-inverted bmp files are displayed upside-down.
+Description of Problem:
+Non-inverted bitmap files are displayed upside-down.
+This kind of .bmp files stores the pixel scanlines from top to bottom, 
+and uses a negative height in the file header. These bitmaps are used in 
+video codecs like XVID, for example.
+Steps to reproduce the problem:
+Execute the attached test sample (it just loads a non-inverted bitmap 
+file and draws it on the form background).
+Actual Results:
+The bitmap is displayed upside-down (vertical mirrored).
+Expected Results:
+The bitmap should display correctly.
+How often does this happen? 
+Additional Information:
+This bug appeared only after Mono version 1.2.3. It worked correctly on 
+previous versions.

More information about the mono-bugs mailing list