News for hackers. Stuff that matters.
Re:Burn All GIFs (2000) by Jaruzel on Friday August 12, 2022 @11:09AM (#32439757)
> LZW is used in an obsolete graphic format called GIF

Tell that to all the kids that 22 years later after this article, still use GIFs several times a day in their ubiquitous chatting apps. :)

https://c.tenor.com/bD9vHNiR1rQAAAAd/boom-mind-blown.gif

Re:Burn All GIFs (2000) by sp332 on Friday August 12, 2022 @11:20AM (#32439889)
Most chat apps convert GIFs to video formats like WEBM to save money. https://c.tenor.com/bD9vHNiR1rQAAAAd/boom-mind-blown.webm It also supports higher frame rates and more colors.

Edit: A better comparison is https://c.tenor.com/3eIvVsG3yPYAAAPo/the-universe-tim-and-er... vs https://c.tenor.com/3eIvVsG3yPYAAAAd/the-universe-tim-and-er...

Re:Burn All GIFs (2000) by banana_giraffe on Friday August 12, 2022 @12:40PM (#32440964)
Or it's just a GIF:

    $ wget "https://c.tenor.com/bD9vHNiR1rQAAAAd/boom-mind-blown.webm"
    --2022-08-12 09:39:06--  https://c.tenor.com/bD9vHNiR1rQAAAAd/boom-mind-blown.webm
    Resolving c.tenor.com (c.tenor.com)... 142.251.46.225
    Connecting to c.tenor.com (c.tenor.com)|142.251.46.225|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 6381102 (6.1M) [image/gif]
Re:Burn All GIFs (2000) by fragmede on Friday August 12, 2022 @02:38PM (#32442358)
The first url just returns GIF regardless of the extension given. https://c.tenor.com/bD9vHNiR1rQAAAAd/boom-mind-blown.asdf is also a gif.

The mp4 of it is at https://c.tenor.com/Oc4nf8N08jIAAAPo/mind-blow-galaxy.mp4, and is 12.1 MiB to the HD gif's 17 MiB (https://c.tenor.com/Oc4nf8N08jIAAAAC/mind-blow-galaxy.gif). As you noted, the SD gif is only 6.1 MiB.

Re:Burn All GIFs (2000) by jjoonathan on Friday August 12, 2022 @12:10PM (#32440602)
It's lame but common for an app to support GIF but not WEBM as input while converting all GIF to WEBM behind the scenes.
Re:Burn All GIFs (2000) by naet on Friday August 12, 2022 @11:30AM (#32440047)
I work with GIFs sometimes still on production sites.

I know Webm and other formats might be heavily recommended, but there are a ton of issues currently in the browser ecosystem with videos and autoplay rules (looking at iOS specifically as a major problem causer here...). Those issues can make webm/etc more trouble than they are worth unless you're operating at a really large scale, or you're willing to lose your animations for a decent percentage of users.

Re:Burn All GIFs (2000) by chrismorgan on Friday August 12, 2022 @03:44PM (#32443060)
That videos might not autoplay is a feature. That I can’t stop GIFs from autoplaying without disabling playing at all is a bug. (One that I don’t expect to ever be fixed, or even widely acknowledged as a bug, but a bug nonetheless.)
Re:Burn All GIFs (2000) by nine_k on Friday August 12, 2022 @07:13PM (#32445062)
While I agree with you, the problem here as a lack of consistency between browsers, which leads to using the least common denominator from 1990s.

Ideally all browsers should have uniform means to control animated graphics (allow or not autoplay, stop all or stop a particular one, etc), and a uniform way to show the intent (autoplay or not, play on hover, etc).

Re:Burn All GIFs (2000) by robertoandred on Friday August 12, 2022 @12:48PM (#32441066)
There's no autoplay issues on iOS, just make sure it's muted. It's the same rules as on Android.
Re:Burn All GIFs (2000) by naet on Friday August 12, 2022 @05:18PM (#32444033)
If an ios device is in low power mode it won't autoplay a muted video but it will display a gif.
Re:Burn All GIFs (2000) by robertoandred on Friday August 12, 2022 @12:47PM (#32441038)
There's nothing special about webm, it's just a video format. GIFs are also converted to MP4s.
Re:Burn All GIFs (2000) by egfx on Friday August 12, 2022 @11:22AM (#32439917)
but not drag and drop most notably
Re:Burn All GIFs (2000) by ki_ on Friday August 12, 2022 @11:54AM (#32440400)
for some reason, chrome network tab says they are both 6.4MB. or is that normal?
Re:Burn All GIFs (2000) by kzrdude on Friday August 12, 2022 @05:40PM (#32444256)
The word GIF has actually expanded its meaning. It now (in chatting apps) just means animated picture even though it's not using that file format.
Re:Burn All GIFs (2000) by bombcar on Friday August 12, 2022 @11:21AM (#32439908)
Even now it’s still the most guaranteed to work on all systems and platforms, even if very space inefficient.
Re:Burn All GIFs (2000) by RodgerTheGreat on Friday August 12, 2022 @03:12PM (#32442767)
And if you optimize with something like gifsicle, you might be surprised at how small GIFs can wind up being: https://www.lcdf.org/gifsicle/