In case you missed the news, there's a critical 0day in WebP (a heap buffer overflow in the libwepb library) floating about, which was initially issued as
png fully supports animations (great for short animations but as it’s not a video format file size explodes exponentially as you make animations longer and the resolution larger. it’s good enough as a replacement for typical jifs tho)
You could do that and some websites use mp4s instead of gifs. I believe imgur calls their peudo gifs “gifv” which is actually an mp4 (or maybe webm/p) with a bit of trickery.
The problem with using mp4s is that they don’t normally loop like you would expect a gif to do.
They also get a playback bar and such by default, many browsers also block auto playback of videos.
Just one thing is the ability to show animated images without being absolutely shit, like gifs.
Gifs animations have next to non optimisation and each frame is just another full image. And their colour is very bad.
png fully supports animations (great for short animations but as it’s not a video format file size explodes exponentially as you make animations longer and the resolution larger. it’s good enough as a replacement for typical jifs tho)
Why not just use a video file?
You could do that and some websites use mp4s instead of gifs. I believe imgur calls their peudo gifs “gifv” which is actually an mp4 (or maybe webm/p) with a bit of trickery.
The problem with using mp4s is that they don’t normally loop like you would expect a gif to do.
They also get a playback bar and such by default, many browsers also block auto playback of videos.