[Mono-winforms-list] Bitmap Decoder in System.Drawing

Alexander Shulgin alexander.shulgin at yessoftware.com
Fri May 14 06:01:57 EDT 2010


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


More information about the Mono-winforms-list mailing list