Alex Johnson

Alex Johnson

  • NA
  • 3
  • 2.4k

Image fromstream issue

Jun 24 2014 6:11 AM

i have problems during creating image from stream. on my windows pc it forks great, on ubuntu server, it throws an error

System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter] at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status) <0x00157> at System.Drawing.Image.CreateFromHandle (intptr) <0x00027> at System.Drawing.Image.LoadFromStream (System.IO.Stream,bool) <0x0002b> at System.Drawing.Image.FromStream (System.IO.Stream,bool,bool) <0x00013>

I checked System.Drawing library setup on my server, it says that system.drawing is installed

mono-test-install

Your have a working System.Drawing setup

any ideas?


Answers (1)