Hi,

Bug #75508 (http://bugzilla.ximian.com/show_bug.cgi?id=75508) is because
Mono uses GdipLoadImageFromFile while MS uses GdipCreateBitmapFromFile and
these functions have different behaviour at least regarding error codes.

libgdiplus however does not implement GdipCreateBitmapFromFile. GDI+
GdipCreateBitmapFromFile returns InvalidParameter when the file cannot be
found.

And GDI+ GdipLoadImageFromFile returns OutOfMemory while libgdiplus returns
FileNotFound.

To fix the bug libgdiplus should be cahnged as well.

Kornél

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to