4 ms·
> I don't think this is true. Most web images shouldn't be "near lossless" they should be "not ugly", with the exception being images that are core content (thi
by TeMPOraL 6y ago
> I don't think this is true. Most web images shouldn't be "near lossless" they should be "not ugly", with the exception being images that are core content (think Flickr or Unsplash).
Hard disagree here. We're talking image format, not image renderers. Whatever ends up being standardized on will eventually become the format "core content" is being stored in and transferred in. It will be the format in which my phone will save photos of my daughter, the format that her grandparents will receive those photos in (possibly twice transcoded by whatever IM they're using these days), so believe me, "not ugly" isn't gonna cut it here.
The photographers, the stock photo sites, the marketers - they'll all know how to keep images at high quality, and they have their reasons for doing so. Regular people will typically just use the defaults, so it's important to optimize the defaults for them, instead of marketing spam. If marketing spam is indeed the majority of data traffic on-line, there are other avenues to address it.
> I did a performance analysis of a set of sites recently, and many have images that are 10x bigger than necessary
Yeah, they also don't care. Why would they? Bandwidth is usually too cheap to meter for most commercial sites like these. If we try to fix their image sizes top-down by more aggressive quality reduction, some marketer will eventually notice the images "look bad", and fix it. Meanwhile, regular people will get the short end of the stick.
- jaffathecake 6y agoPhones are already using different formats for image storage. Apps are already sending those at different qualities and formats when you share them. You shouldn't just take an image from your phone as-is, stick it on a website, and display it at 400x400 or whatever. Firstly, that won't work if you took the image with an iPhone, since it uses HEIF, which isn't supported by any browser. Secondly, it'll be orders of magnitude too big. Sites will care about this stuff when it impacts their metrics like first-contentful-paint, which will soon begin impacting Google search ranking.
- crazygringo 6y ago> Yeah, they also don't care. Why would they? Bandwidth is usually too cheap to meter for most commercial sites like these. Because it's not about server bandwidth, it's about download speeds on slow connections -- mobile, bad Wi-Fi, etc. You always want images that are no larger than they have to be for page load speeds. It's a user experience thing, not a cost thing.
- TeMPOraL 6y agoI understand the theory, but the reality seems to disagree. Rarely if ever companies care about page load speeds on slow connections. Website bloat in general is a widespread problem.
- crazygringo 6y agoNot all companies are the same. Sure, there are tons of websites that don't optimize for page load speeds. There are also tons that do -- including some of the largest, most popular websites on the planet, that perform very fine-tuned image compression for this purpose. Managers pore over analytics reporting 95th pctl client-side loading time, etc. So "rarely if ever" is just utterly false. Why the defeatist attitude?