Re: Bitmap Decoder in System.Drawing

Alexander Shulgin <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
On 14.05.2010 10:32, cs_eps wrote:
>
> How are the bitmap different decoder (bmp, jpg, png, gif, tiff) integrated
> into the Mono gdiplus library?

Support for different file formats can be optionally compiled into 
libgdiplus, using configure script command line options.

> We have the x86 Mono 2.6 on a OpenSuse VM and a ARM Mono on an Angström
> Linux.
>
> We load the images with the folwing statement:
> System.Drawing.Image img = Image.FromFile(fileName);
>
> While in the x86/OpenSuse we can open tiff and gif images, we can't do it in
> the ARM/Angström Linux.

Do you get a low-level crash or exception?  Or does it return null?

> What must be done on the ARM/Angström Platform to be able to handle the gif
> images?

You need properly built libgdiplus installed along with it dependencies, 
one of which is giflib.

--
Alex
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.