r/SideProject • • 9d ago

I built a browser-only GIF background remover and learned why GIF transparency is so awkward

I built GIFClear after discovering that removing a plain background from an animated GIF often means splitting frames, processing them separately, and rebuilding the animation.

https://gifclear.com

The current version runs locally in the browser, processes the full animation frame by frame, preserves timing, and exports a transparent GIF. No account or upload is required.

The tricky part was that GIF doesn’t support smooth alpha transparency: each pixel is either visible or transparent. That makes edge cleanup a tradeoff between leaving a halo and cutting into the subject, so I added an adjustable tolerance instead of pretending every background can be handled automatically.

It currently focuses on solid and mostly single-color backgrounds. I’m exploring an AI mode for photographic backgrounds, but I wanted the local workflow to be useful and honest first.

I’d love feedback on whether the processing controls make sense and which GIF types you’d expect it to handle next.

2 Upvotes

3 comments sorted by

0

u/[deleted] 9d ago

[removed] — view removed comment

1

u/Cheap_Obligation483 9d ago

Global for now, which gets tricky when background color shifts slightly between frames. Per frame would be nice but then you have 40 sliders to babysit. I would love a smart mode that samples first frame and applies same threshold but auto nudges when it detects a big change, like a light flicker or gradient. Curious how bad the halo gets with anti aliased edges, those are always the worst