Hacker News new | ask | show | jobs
by rvavruch 5330 days ago
Chicken and egg. Designers will not use a format not supported by the majority of browsers and browsers see no need to implement new formats unless people are asking for them.

It goes against the web design principle of making your site usable to all users regardless of what they are browsing with to use an image format that is not widely supported. This principle is backed by users who will simply leave your site in disgust if they are asked to jump through hoops to use it. Very few designers will be willing to maintain two versions of all their images just because one of the formats is a bit smaller.

Microsoft has it's own range of newish web image formats that never caught on. History suggests IE is unlikely to support anything "not made here" unless it is forced to. The competition to Microsoft's image formats, JPEG2000, never caught on either. Firefox has an infamous open bug about adding it in dating back to 2000: https://bugzilla.mozilla.org/show_bug.cgi?id=36351 - over 11 years! Despite what it looks like in the last comment, my Firefox 8 still does not have support.

The last image format that managed to make it was PNG, and that was almost over a decade ago, although alpha support in PNG was added comparatively recently to IE. Last time I checked MNG (PNG's answer to animated GIFs) still wasn't widely supported.

Sorry to be such a downer, lack of support for JPEG2000 was a let down for me. As I see it Firefox, Opera and Safari will all need to support this first, before web designers in general will even consider using it. Only once a significant number of web designers are clamouring for it will IE slowly add support for it. Only then will it see wide use.

Tool support is vital too, most importantly Adobe PhotoShop. No web designer I know of is going to muck about in the commandline with imagemagick.

3 comments

Those formats aren't really dead. Just that the web browsers don't support them doesn't mean they're not used.

mng is currently used for simple animations in UIs (for example, Qt has built-in support for it). On the web, I guess there just isn't that much of a need for an animated format (other than fully-fledged movies).

jpeg2000 is used by some 3d tools and games as texture/asset format.

WEBP already has the advantage that it has been implemented by one of the larger browsers, and that it supports everything. Lossy, lossless, transparency, animation. And smaller files as a bonus. It could be the image format to end all image formats :-) I can see a lot of uses outside the browser as well, even if it fails as browser format. I also think google is going to push it as the defacto image format for Android.

Support in design tools isn't that important. One can always convert image formats as part of deployment. In many cases this is needed anyway (for example for CSS spriting / inlining).

Firefox has an infamous open bug about adding it in dating back to 2000: https://bugzilla.mozilla.org/show_bug.cgi?id=36351 - over 11 years! Despite what it looks like in the last comment, my Firefox 8 still does not have support.

The bug was WONTFIX-ed more than 2 year ago, so it will probably never support it.

As I see it Firefox, Opera and Safari will all need to support this first, before web designers in general will even consider using it.

...and this was the reason for the WONTFIX: https://bugzilla.mozilla.org/show_bug.cgi?id=36351#c98

I sense some chicken and egg problems here. I'm guessing neither side though the improvements compared to complexity of adding support are worth it. I'm not sure WebP changes the equation.

You're missing a step -

This new format produces smaller files, and is therefore faster on the internet.

You can choose a benefit that you derive from that - less bandwidth cost per user, more users per bandwidth cost, faster page load times for users.

Faster page load times for users has measurable impact on user behavior - people like faster pages better.

If you don't speed your page up, and your competitor does, all else being equal, customers will prefer your competitor.

There are costs of supporting multiple formats, but if the benefits outweigh the costs, people will put in the effort. It's not a chicken and egg problem at all.

> Very few designers will be willing to maintain two versions of all their images just because one of the formats is a bit smaller.

I disagree. I think you're seeing Mobile versions of sites, already.

Also, in stating that PNG was the last successful new format, I think you're forgetting SVG, CSS, and HTML5 Canvas, all of which can be used to produce images on browsers.

> No web designer I know of is going to muck about in the commandline with imagemagick.

Not even if there's a measurable financial impact? I think you're overstating their future unwillingness. The burden, of course, is evidence.