[Top][All Lists]

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

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

From: Miles Bader
Subject: Re: [PATCH 1/2] image: add support for GIF transparency
Date: Fri, 05 Nov 2010 08:01:00 +0900

YAMAMOTO Mitsuharu <address@hidden> writes:
>> +        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.

A clipping mask might be a better solution even for PNG etc -- it will
have exactly the same appearance on the default background, and will at
least give a better approximation on non-default backgrounds...


97% of everything is grunge

reply via email to

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