: Trouble with gif export output with transparent background in gimp So I took a gif, and edited out the background for each frame. When I go to filters -> animation -> playback it plays the
So I took a gif, and edited out the background for each frame.
When I go to filters -> animation -> playback it plays the gif perfectly fine with a transparent background.
imgur.com/a/AEt5Q
After exporting the gif and opening it up on an image viewer, the background is gone, but instead of it being transparent, it's turned into a white background.
imgur.com/a/G5DJI
I've tried using optimize for gif, but it doesn't change anything. I also have tried exporting the gif as both png and gif format.
More posts by @Kaufman565
1 Comments
Sorted by latest first Latest Oldest Best
Works for me, different viewers (Firefox, Gwenview), different backgrounds, so Gimp encodes transparent pixels:
However, remember that in a GIF, there is no partial transparency, so you won't get smooth edges (the circles are smooth in the original image, but jagged in the GIF). To get smooth edges, you have to use Filters>Web/Semi-flatten, but this works only for a specific background color.
Edit: You can insert your image into some html that sets a specific background and look at the result by loading the resulting file in your navigator:
<html>
<body>
<!--<div style="background-color: #00ff00 "> -->
<div style="background-image: url(pattern.png)">
<img src=TransparentAnim.gif />
</div>
</body>
</html>
If you see the background behind your image, then you image is good and whatever unexpected background you get is from the image viewer or the web site and not from your image.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.