[Mono-bugs] [Bug 650254] New: Bitmap.Save throws Exception with "Generic Error"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 29 14:23:16 EDT 2010



           Summary: Bitmap.Save throws Exception with "Generic Error"
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: All
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Drawing.
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: nospam at unclassified.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Description of Problem:
I'm writing an application that shall generate graph images and save them in a
PNG file using Bitmap.Save(). This always throws an Exception("Generic Error
[GDI+ status: GenericError]"). Saving images is thus impossible. It also
affects saving to other image formats.

Steps to reproduce the problem:
1. Run the attached test case.

Actual Results:

Expected Results:
Saving image, no exception

How often does this happen? 

Additional Information:
Tested with Ubuntu 10.4 LTS amd64 (mono 2.4.4, libgdiplus 2.4.2), Ubuntu 10.4
LTS i586 (mono 2.4.4, libgdiplus 2.4.2 & 2.6.7 as well as mono 2.6.7,
libgdiplus 2.6.7 from badgerports) and OpenSUSE 11.2 i586 (mono 2.4.2,
libgdiplus 2.4.2). It's reproducible whether the test case is compiled with
Visual Studio or mono-mcs.

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