[Mono-winforms-list] Lots of people get stuck by missing decoders
in libgdiplus
Rafael Teixeira
monoman at gmail.com
Wed Jul 27 10:22:34 EDT 2005
I've seen lots of first-time users of MWF, getting stuck with the uninformative:
Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Windows.Forms.XplatUI --->
System.Reflection .TargetInvocationException: Exception has been thrown by
the target of an invoca tion. ---> System.NotSupportedException: Either
image format is unknown or you d on't have the required libraries for this
format.
in <0x0014a> System.Drawing.GDIPlus:CheckStatus (Status status)
...
What normally means that libgdiplus isn't finding one of the native
decoding libraries.
I do think that it would be better to give a more detailed message
that tells exactly which library is missing or didn't like the bitmap
stream. Comments?
Regards,
--
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes.
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!
More information about the Mono-winforms-list
mailing list