4 ms·
This is really cool! Completely suboptimal but fascinating none the less. Great project and idea :) would be interested in hearing some people's ideas for real
by warent 9y ago
This is really cool! Completely suboptimal but fascinating none the less. Great project and idea :) would be interested in hearing some people's ideas for real applications of this
- deleted 9y ago[deleted]
- mxstbr 9y agoOne use case for automatically adapting/live updating gifs is emails since HTML in emails can only have a very limited subset of functionality. One can use automatically generated gifs to add things like countdown timers based on the opening time of the email. (i.e. loading time of the image) See for example this post: https://litmus.com/community/learning/27-how-to-add-a-countdown-timer-to-your-email https://litmus.com/community/learning/27-how-to-add-a-countd...
- botverse 9y agoThis won't work with gmail, the images are precached.
- mnutt 9y agoActually, that's not true. GMail proxies images, but doesn't do a lot in the way of caching. They actually cache the DOM when moving between messages for a short while, but a browser reload will reset it.
- botverse 9y agoBeen working for 3 years in the past in an email isp I had different information, gmail did cache the images and did it "forever". May be this changed recently? More info: https://litmus.com/blog/gmail-adds-image-caching-what-you-need-to-know https://litmus.com/blog/gmail-adds-image-caching-what-you-ne...
- deleted 9y ago[deleted]
- mnutt 9y agoMy company uses the same technique at scale to serve animations into emails, often at thousands of gifs generated per second and streamed to the user. Interestingly, when you stream gifs frame-by-frame, some size optimizations are not available to you but there are plenty that are. (cropping, transparency, etc)