[Mono-list] Problem with Image::PropertyIdList

Abe Gillespie abe.gillespie at gmail.com
Tue Mar 28 20:55:42 EST 2006


Is this a bug?

Image img = Image.FromFile("/path/to/some/jpg/test.jpg");
int [] ids = img.PropertyIdList;

I get:
Unhandled Exception: System.Exception: Generic Error.
in [0x0006c] (at
/usr/local/src/mono/mono-1.1.13.6/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:178)
System.Drawing.GDIPlus:CheckStatus (Status status)
in [0x0000f] (at
/usr/local/src/mono/mono-1.1.13.6/mcs/class/System.Drawing/System.Drawing/Image.cs:644)
System.Drawing.Image:get_PropertyIdList ()
in (wrapper remoting-invoke-with-check)
System.Drawing.Image:get_PropertyIdList ()
in [0x0000c] (at /home/abe/Desktop/gps_pics/main.cs:16) App:Main
(System.String[] args)

Thanks.
-Abe


More information about the Mono-list mailing list