|
|
|
|
|
by astrange
4450 days ago
|
|
WebP/M and H.264 are lossy formats, so any comparison citing one ultimate filesize for them is nonsensical. I'd expect them to beat PNG with acceptable quality, since PNG's compression (gzip with some prefilters to make image data more gzippable) is the work of someone either limited by patents or not informed enough to make their own entropy coder. Also try 'ffv1' in ffmpeg; it's lossless and will win every time. |
|
Transcode a bunch of different-looking PNGs to a WebP losslessly, each pixel preserved exactly, and you'll see a byte savings in the neighborhood of 30%. Go lossy and much more savings, with the option of alpha transparency on lossy if you're into that.
It's not just efficiency, it's versatility that these formats bring to the table. Though the efficiency is compelling.