Hacker News new | ask | show | jobs
by pornel 4187 days ago
• Currently you can use lossy PNG: http://pngmini.com/lossypng.html

• 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.