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
If memory serves, one of the main selling point that was presented was that WebP was able to compress an image better while retaining more visually relevant information than JPEG.
It has better compression than libjpeg, but that’s not due to the file format. There are other JPEG libraries that give similar or slightly better results than libwebp.
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.
Really? What does it add that isn’t already done better by other formats? WebP is just Google having not-invented-here syndrome.
If memory serves, one of the main selling point that was presented was that WebP was able to compress an image better while retaining more visually relevant information than JPEG.
It has better compression than libjpeg, but that’s not due to the file format. There are other JPEG libraries that give similar or slightly better results than libwebp.
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.