Gif issues with transparent background

LottieFiles pros, do any of you have experience with converting json to gif but with transparent background? For example let’s say I have an animated circle (with no fill) #000000 and I set the background to #ffffff00 using the Lottie to gif function, it looks fine in preview but when I download the gif, the background is transparent but the animated circle that was once black is also now transparent. This doesn’t happen with any other background color. If I used #ffffff the gif generates fine with black circle and white background. I’ve tried this with many different animations, they all fail in the same way with transparent background.

Have any of you experienced this (or is it just me). Any thoughts on how to resolve?

5 Likes

Please as anyone found a solution to this issue?
I find it impossible to convert json file to gif and have a transparent background
Kindly help please!!

@amberharris786 @koluwafisayomi

The best option is to export your animation from After Effects with a transparent background either as a Movie file with Alpha Channel or a PNG sequence with transparency turned on. Then import into Photoshop and export a GIF with transparency.

You can also try to add the sequence to the Media Encoder out of After Effects and see if it’ll let you do a transparent BG for the Animated Gif Export.

1 Like

I honestly appreciate your response, but I am reffering to EXPORTING FROM THE LOTTIEFILES EDITOR. How do I export with a transparent background?

@koluwafisayomi @amberharris786
The tricks in this article could help you.
However, please take note that your animation may be degraded in quality because the amount of colours GIF support is lesser than a Lottie hence the quality may drop and sometimes it won’t even look the same depending on the complexity of the Lottie animation.

It doesn’t works for me.
Says “converting…” and never ends

Easy Process.
Download JSON data>import using bodymovin in after effect> Export it using GIFGUN scripts.
Use GifGun to export GIF animation. Transparent or with the background. You can add a number of color shades like 256, 120, 60, etc.

GifGUN isn’t working either :grimacing:

@nico.lawlor working fine in my software.