5 ms·
This is better: https://github.com/videlalvaro/gifsockets https://github.com/videlalvaro/gifsockets - it's event based so doesn't tie up lots of memory while ru
by anewhnaccount 11y ago
This is better: https://github.com/videlalvaro/gifsockets https://github.com/videlalvaro/gifsockets - it's event based so doesn't tie up lots of memory while running and doesn't stop after 30 frames.
- andreyf 11y agoOh, this is actually neat: > what about progress bars for stuff that your server is doing in the background This seems like a really good micro-service.
- barrystaes 11y agoYep, i was expecting OP's code to be the PHP implementation of that, but a quick look at index.php shows its not. Streaming gif frames, now thats what i call a live gif.
- deleted 11y ago[deleted]
- erikvdven 11y agoYes, the idea is brilliant! But the purpose of my source code is to use "real-time" gif images in mail clients. Unfortunately, videlalvaro's solution is only possible for mail clients which support loading images from its original source. Google loads the images from their proxy, which downloads the images first. It DOES re-download each image at the moment you re-open the e-mail message, but it won't make it possible to manipulate the images real-time. I've tested it. It does work in clients like outlook, cause outlook shows the images from its original source, but gmail doesn't. So sending a gif image with a certain amount of frames is better, in my opinion.