logoalt Hacker News

Mogzoltoday at 5:41 AM2 repliesview on HN

Why? I assume the intention is to show these images on a webpage somewhere. WebP is well-supported by browsers and can store lossless images at better compression ratios than PNG, so why not use it? I don't think using a lossy format like JPEG makes much sense. JPEG is a fine format for photos, but for HTML content rendered as an image I assume most people would want a lossless format so you don't get artifacts.


Replies

dtagamestoday at 3:09 PM

Because it's impossible to use in other tools. Only browsers get it. But I agree about lossy images for text.

kaizenbtoday at 6:24 AM

Definitely should be WebP.