swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] gif2swf transparency issues black artifacts


From: xxatsushixx
Subject: Re: [Swftools-common] gif2swf transparency issues black artifacts
Date: Wed, 23 Jun 2010 14:35:36 +0900

Can you try it?

swftools-0.9.1
src/gif2swf.c

@@ -275,7 +275,7 @@

     for (i = 0; i < numcolors; i++) {
         c = colormap->Colors[i];
-        if (bpp == 4 && (i == bgcolor || i == alphapalette))
+        if (i == bgcolor || i == alphapalette)
             pal[i].r = pal[i].g = pal[i].b = pal[i].a = 0;      // Fully 
transparent
         else {

Atsushi

On 1 May 2010 17:36, Mike Broders <address@hidden> wrote:
> hi,
>
> i think you know about the issue of using optimized gif-files with gif2swf.
>
> the resulting swf files are showing black areas where the gif was optimized
> by using transparent areas where same colors exist.
>
> i wanted to know if there is a fix available or if the current version has
> already a fix?
>
> if not is there a known workaround without touching the optimized gif's?
>
> thanks in advance
> mike

-- 
Atsushi Kato
 <address@hidden>

--------------------------------------
2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/southafrica2010/



reply via email to

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