emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] image: add support for GIF transparency


From: YAMAMOTO Mitsuharu
Subject: Re: [PATCH 1/2] image: add support for GIF transparency
Date: Thu, 04 Nov 2010 10:44:36 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shij┼Ź) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Wed, 27 Oct 2010 17:00:50 +0200, Julien Danjou <address@hidden> said:

> +        if (transparent_p && transparency_color_index == i)
> +            pixel_colors[i] = FRAME_BACKGROUND_PIXEL (f);

If we don't have multiple transparency levels in GIF (unlike PNG or
SVG), then we can construct a clipping mask as we currently do in XPM,
and that would give us a better result.

                                     YAMAMOTO Mitsuharu
                                address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]