[Mono-bugs] [Bug 510805] Unable to load a GIF via System.Drawing.Image.FromFile

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 9 16:46:45 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=510805

http://bugzilla.novell.com/show_bug.cgi?id=510805#c1


--- Comment #1 from tom hindle <tom_hindle at sil.org> 2010-03-09 21:46:43 UTC ---
Created an attachment (id=347456)
 --> (http://bugzilla.novell.com/attachment.cgi?id=347456)
Animated gif test case part 1

Animated gifs - also seem to cause gdi plus emit GDI+ status: InvalidParameter:

Unhandled Exception: System.ArgumentException: A null reference or invalid
value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] 
  at System.Drawing.Image.FromFile (System.String filename, Boolean
useEmbeddedColorManagement) [0x00000] 
  at System.Drawing.Image.FromFile (System.String filename) [0x00000] 
  at TestAnimiatedGif.MainClass.Main (System.String[] args) [0x00000] in
/home/hindlet/Projects/TestAnimiatedGif/TestAnimiatedGif/TestAnimatedGif.cs:10 

Attaching test case.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list