[Mono-list] Problem with Image::PropertyIdList

Peter Dennis Bartok peter at novonyx.com
Tue Mar 28 21:42:28 EST 2006

Depends. PropertyIdList should not fail, but it won't return real properties 
either. The 'bug' would be the generic error that's thrown. Let me try and 
run this tonight, am not at my mono machine right now.


-----Original Message-----
From: "Abe Gillespie" <abe.gillespie at gmail.com>
To: <mono-list at lists.ximian.com>
Date: 28 March, 2006 18:55
Subject: [Mono-list] Problem with Image::PropertyIdList

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
System.Drawing.GDIPlus:CheckStatus (Status status)
in [0x0000f] (at
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)

Mono-list maillist  -  Mono-list at lists.ximian.com

More information about the Mono-list mailing list