How I removed the white background of my GIF blog signature using Python

For years now my blog posts ended with a small animated signature: a GIF I drew and hosted on Cloudinary. It showed up at the bottom of every post. That GIF had one assumption baked in: a pure white background . When I redesigned the site, that assumption was no longer true. The background is no longer flat white, and I also added dark mode , where the page background looks black but is not true…