Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Image.Load throws NullReferenceException #797
Sorry if I'm looking automated :) Anyway, here's the stack trace:
@Metalnem Just to confirm I understand it right: The image in fact is invalid, right?
According to the file header it's a JPEG (Jfif) file, and I can reproduce the bug, but the image can't be opened by the windows 10 image viewer, paint, paint.net or Gimp.
So we're going to throw an ImageFormatException stating that there is no readable SOF0 marker in this case.
PR incoming in a few minutes...