|
|
|
|
|
by Timmmmmm
4187 days ago
|
|
I have a feeling that nobody would really bother with WebP for its compression, but does JPG/PNG have: * Lossy compression with alpha channels.
* Efficient lossless compression of photo-like images.
* Efficient compression of photo-like and diagram-like images in the same format (and in the same image, e.g. screenshots containing photos).
* Good lossy compression of diagram-like images. No. |
|
• There's a draft for gracefully-degrading JPEG eXTensions that add all the features you want http://www.jpeg.org/jpegxt/index.html (by encoding classic JPEG + residual image hidden in JPEG metadata).
WebP is a bit of a hack: it has JPEG-like algorithm for photos (VP8) and a custom PNG-like algorithm for lossless. Technically it's not much different than having JPEG and PNG and using same filename extension for both.
JPEG 2000 and JPEG XR have truly scalable algorithm that can support lossy and lossless.