[Mono-bugs] [Bug 677596] GIF transparance

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 8 16:28:26 EST 2011



--- Comment #3 from Gonzalo Paniagua Javier <gonzalo at novell.com> 2011-03-08 21:28:25 UTC ---
Created an attachment (id=418193)
 --> (http://bugzilla.novell.com/attachment.cgi?id=418193)
Test image file

Use the attached gif file with the following program. Compile with 'gmcs
-r:System.Drawing.dll giftest.cs':

using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;

class Test {
    static void Main ()
        using (Bitmap bmp = new Bitmap ("pic.gif")) {
            File.Delete ("saved_pic.gif");
            using (Stream fs = File.OpenWrite ("saved_pic.gif")) {
                bmp.Save (fs, ImageFormat.Gif);

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list