lidnariq wrote:
To be fair, the image formats hosted by imgur already use compression; there's not going to be much incremental improvement other than compressing GIF's (normally uncompressed) palette.
You're right, I forgot about that. I'll play tepples for a moment: but
not all GIFs (animated or otherwise) use LZ77/LZW compression due to the
patent debate. Sure, that patent expired in 2004, but there's really no way to guarantee every GIF file ever created is using compression, or that whatever was used to create a GIF present-day makes use of LZW or not (software being used may be "old" and by default *not* use LZW due to the patent concerns, and user has no idea that they should turn it on).
That said: use of deflate or gzip on GIFs using LZW can/does help. On Espozo's avatar, the actual transferred payload goes from 345KBytes to 306KBytes (39KB savings) using gzip (and I did turn on DEFLATE/gzip for .gif files in this context). In other words: gzip's compression model seems to work semi-well on this file, despite it using LZW (I checked):
Code:
$ curl --output /dev/null http://www.home.lan/wmxKWiQ.gif
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 345k 100 345k 0 0 48.7M 0 --:--:-- --:--:-- --:--:-- 56.2M
$ curl --compressed --output /dev/null http://www.home.lan/wmxKWiQ.gif
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 306k 0 306k 0 0 9826k 0 --:--:-- --:--:-- --:--:-- 9884k
Verification of LZW use in that GIF:
Code:
D:\downloads\ImageMagick>identify -verbose wmxKWiQ.gif | grep -c "Compression: LZW"
50
Anyway, point is: animated GIFs (especially ones with lots of frames or visuals) are extremely annoying, waste bandwidth, and really bring absolutely nothing to the table. When I was younger (back in the days when animated GIFs were the hot new thing), sure, I made several myself and they were prolific (esp. on Geocities). Those of us from that era now find them quite annoying (cuz people do stupid things like make 2-3MByte animated GIFs from portions of an anime, for example), especially if hosted by infrastructures or platforms which don't support caching. I myself do use an animated GIF avatar on occasion, but guess how big the file is? 3.9KBytes; I think it's like 4 frames of animation (edit: it's 6). Not too distracting either.