[Mono-list] Bug in System.Drawing.Imaging.ImageFormat?

Miguel de Icaza miguel@ximian.com
Tue, 13 Apr 2004 15:27:54 -0400


> We have successfully ported a big portion of our code to linux. Thanks a
> lot!
> Question:
> I get the  System.DllNotFoundException: jpeg exception when I do the
> following:
> .
> MemoryStream ImageStream = new MemoryStream(imageByteData);
> Bitmap imageBitmap = new Bitmap(ImageStream,false);
> .

You need to have the libjpeg library installed in your system.

Notice that this will be detected at installation time in the next Mono
release, in the current one we do not do this.