Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Please share the GIF file because otherwise we have no reproduction case.
Maybe fixing this is easy but currently it works with the large majority of GIFs, this is the first time someone has an issue with the current way it works. So we might just have to wait for a 100% perfect fix by the developers of the library.
Also, Wallpaper Engine renders out the entire GIF, there is no need for not-so-well defined disposal methods since they become irrelevant after importing. You could even instead import a PNG sequence and get better colors for your animation.
I looked at this file and it uses a couple of rarely used features and behaviors which are just unnecessary too. The reason it worked before in Wallpaper Engine is that the method it uses was just completely bugged before and now it does what the GIF tells it to do, which makes it look wrong.
Looking at several transcripts of the GIF specification I cannot find an explanation why it should be transparent on frame 2 and later. It may be that other applications include some kind of hack for this unspecified behavior or that they also are doing something that isn't correct according to the GIF format, just like Wallpaper Engine was doing before.
But the GIF literally says this:
1. Set background color to red, transparent
2. Clear with background color
3. Draw first frame
4. Set background color to red, opaque
5. Clear with background color
6. Draw second frame on top of background color
So this GIF really says that it wants to turn the background red by clearing it like this. Step 4 is what seems to be the most wrong, why would it specifically make the color opaque?
I imported this GIF into GIMP and exported it again and it just made everything worse. Now the background is *never* transparent in the GIF file and only fully white, I don't see why GIMP would do that.
I also imported and exported it with Photoshop and now the GIF is well formed. The background is transparent and does not get changed anymore. This is how it should be, now it also works in Wallpaper Engine.
I don't know why the malformed GIF works in other programs, I can only assume they have some hack to ignore the background color and make it always transparent when certain conditions are met, but I cannot find any information on this so it would be a really bad idea to attempt creating any hacks without knowing the full extent of the side effects.
TL;DR: The GIF file is defective according to the official GIF specification. Importing/exporting with Photoshop seems to fix the GIF.
Regardless, importing/exporting them with Photoshop as you mentioned does seem to fix things, so that resolves my problem. Thanks again!