[Mono-list] Unspecific error: System.Exception: Generic Error [GDI+ status: GenericError]

Yves Goergen nospam.list at unclassified.de
Thu Oct 28 15:23:14 EDT 2010


On 28.10.2010 20:28 CE(S)T, Sebastien Pouliot wrote:
> On Thu, 2010-10-28 at 20:05 +0200, Yves Goergen wrote:
>> Yet another test: I've tried using ImageCodecInfo and EncoderParameters
>> instead of ImageFormat for the Bitmap.Save method. But it wouldn't
>> change a thing, 
> 
> No it won't. If the simplest test case does not work, more complex cases
> won't either.

I thought that this thing might possibly use different code in the
backend. Obviously it doesn't.

> (b) you're using a different version of libgdiplus (compared to mono).
> Your package manager should not allow this, but please check;

Package versions are:

mono-runtime   2.4.4~svn151842-1ubuntu4
   (pretty much everything with mono in it has this version number)
libgdiplus     2.4.2-1ubuntu0.10.04.1

There are no package dependencies between these two. I had to install
them separately (i.e. none of them was installed as a dependency of the
other).

> (c) you compiled libgdiplus yourself and were missing some other
> development packages (so your libgdiplus is missing some features);

No, I installed it all from the standard Ubuntu package sources.

-- 
Yves Goergen "LonelyPixel" <nospam.list at unclassified.de>
Visit my web laboratory at http://beta.unclassified.de


More information about the Mono-list mailing list