[Mono-bugs] [Bug 434583] New: Bitmap.SetResolution doesn't work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 12 05:18:02 EDT 2008


           Summary: Bitmap.SetResolution doesn't work
           Product: Mono: Runtime
           Version: 2.0
          Platform: x86
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: stifu at free.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User

Created an attachment (id=245006)
 --> (https://bugzilla.novell.com/attachment.cgi?id=245006)
Testcase. It should show 2 big black and red dots, but they're only 1-pixel big
with Mono on Linux.

The SetResolution function has no effect on Linux (tried on openSUSE and
I don't think this is a regression, but something that's been there since the

Note that SetResolution works as expected using Mono on Windows. This only
concerns Linux (and probably Mac too, I can't check).

Attached to this report, a little testcase (made using SharpDevelop, as
MonoDevelop wouldn't let me use the Bitmap class). It also includes the
compiled exe file in the bin/Debug directory.
The testcase consists of a Windows Application containing a Panel. A Bitmap is
created, and contains a black pixel and a red pixel. The Bitmap is then
stretched using the SetResolution method, so the 2 pixels should look much
bigger. The Bitmap is then drawn into the Panel.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list