Slashdot Mirror


Mozilla Rejects WebP Image Format, Google Adds It

icebraining writes with a link to Ars Technica's look at the recent rejection of WebP by Mozilla Developer Joe Drew."Building mainstream support for a new media format is challenging, especially when the advantages are ambiguous. WebM was attractive to some browser vendors because its royalty-free license arguably solved a real-world problem. According to critics, the advantages of WebP are illusory and don't offer sufficient advantages over JPEG to justify adoption of the new format. (...) 'As the WebP image format exists currently, I won't accept a patch for it. If and when that changes, I'll happily re-evaluate my decision!' wrote Mozilla developer Joe Drew in a Bugzilla comment.'" However, as the article explains, Google sees enough value in WebP to add it as a supported image format for Picasa.

45 of 262 comments (clear)

  1. Why? by Anonymous Coward · · Score: 5, Interesting

    Why do we need yet another image format?

    1. Re:Why? by tepples · · Score: 3, Insightful

      Any patent on compressing keyframes in a video is a patent on image compression.

    2. Re:Why? by tepples · · Score: 4, Informative
      Anonymous Coward wrote:

      Why do we need yet another image format?

      If a new format 1. has an alpha channel, 2. has demonstrably better SSIM than JPEG, and 3. preserves Exif and ICC metadata, then it's superior to JPEG. In theory, WebP should have demonstrably because it's based on VP8 keyframes, while JPEG uses much the same technique as MPEG-1 keyframes. But it lacks an alpha channel, and it lacks Exif and ICC.

    3. Re:Why? by tepples · · Score: 2

      As I understand the article, it's about Mozilla asking Google to make 2 (better PQ) clearer and add items 1 (alpha) and 3 (metadata) first.

    4. Re:Why? by errandum · · Score: 4, Insightful

      And?

      Lossless compression: LZW, LZ77, LZ78 and variants. Most of these have expired by now and/or are free to use (PNG uses a variation of LZ77 and GIF uses LZW)

      JPEG's lossy compression patent was invalidated in 2006, so everyone can use it.

      Do you need more? Even if it's royalty free, it doesn't matter nowadays and it'll only contribute to make browsers heavy. Just leave it be.

    5. Re:Why? by GoRK · · Score: 5, Interesting

      You would be surprised; JPEG2000 is used extensively by high-compression PDF. As a standalone image format it's pretty lousy but for scanned documents it's actually really great. We have literally millions of pages stored this way where I work.

    6. Re:Why? by amliebsch · · Score: 2

      But we already have a new format that does all that, it's called JPEG XR.

      --
      If you don't know where you are going, you will wind up somewhere else.
    7. Re:Why? by adolf · · Score: 2

      JPEG2000 can work quite well for images, as well.

      There's a bunch of old panoramic maps at the Library of Congress which are available in JPEG2000. The amount detail preserved in these offerings is astounding (at least to me).

      I mention this only because, as already pointed out, nobody much bothers with the format and, and good examples can be hard to come by. And old maps are cool.

    8. Re:Why? by Hal_Porter · · Score: 2

      Opera Turbo uses WebP to compress images on low bandwidth connections

      http://googlesystem.blogspot.com/2011/04/opera-turbo-uses-webp-to-compress.html

      WebP looks better than JPEG at high compression ratios where JPEG has noticeable blocking artifacts.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    9. Re:Why? by parlancex · · Score: 2

      Lousy? On a technical level JPEG2000 is currently the state of the art in both lossy and lossless photo compression. What makes JPEG2000 lousy are the patents encumbering it (and following from that) it's lousy penetration and support in modern products.

  2. Its not the image format that's the problem by suso · · Score: 4, Insightful

    New file format's can't cure something that user education requires.

    1. Re:Its not the image format that's the problem by mat+catastrophe · · Score: 2

      New file format's what?

      --
      sig not found
    2. Re:Its not the image format that's the problem by master5o1 · · Score: 3, Funny

      I don't understand how you can accidentally an apostrophe into the sentence just because it's a laptop keyboard.

      --
      signature is pants
    3. Re:Its not the image format that's the problem by StuartHankins · · Score: 5, Funny

      Accidentally what an apostrophe?

      Oh, sorry, didn't see your laptop keyboard.

    4. Re:Its not the image format that's the problem by _4rp4n3t · · Score: 2

      He didn't accidentally an apostrophe, he accidentally a word.

    5. Re:Its not the image format that's the problem by Co0Ps · · Score: 2

      He wrote that on purpose. It's a meme.

  3. Why NOT? by bradgoodman · · Score: 2, Interesting

    That mere fact that I am reading this article indicates that WebP has enough momentum to potentially be useful. The fact that other browser(s) are adding support is even more relevant. So the real question I believe is what wouldn't they add it? It's not costing anything, and (apparently) it's already been developed. So what's the issue?!

    1. Re:Why NOT? by cpu6502 · · Score: 5, Informative

      Quote: "Adopting a new image format in Web browsers is a big decision. Once a format becomes a part of the Web, it will have to be supported in perpetuityâ"adding overhead to the browserâ"even if it largely fizzles and only gains a small niche following."

      It's akin to if Web browsers were required to support failed formats like ANIM or HAM or IFF. In other words adding support for WebM wastes space in the program (and computer memory).

      And I'm probably going to get modded -1 for comparing WebM to "failed formats" like HAM, but I think it's pretty obvious that WebM is destined for the same place as VESA and HD-VHS landed. Nice idea..... not adopted by the general public.

      --
      My AC stalker: " I personally agree with your posts most of the time, but that won't keep me from modding you troll"
    2. Re:Why NOT? by squiggleslash · · Score: 3, Insightful

      Because it's not got a lot of momentum at this point, and other than compression quality it appears to be an inferior of JPEG - it lacks, apparently, the same degree of metadata.

      If there's a major problem with the web right now it's the number of half-assed ill-thought out technologies that are already in there and that have to be supported permanently because someone out there might be still using it - and in many cases, they are, from GIFs to frames. Mozilla and Microsoft just threw IndexedDB into the mix, just to add another thing to fuck things up for another decade.

      So yeah, I have to agree with Mozilla in this case that WebP shouldn't be accepted. Less is more.,

      --
      You are not alone. This is not normal. None of this is normal.
    3. Re:Why NOT? by tyrione · · Score: 2

      That mere fact that I am reading this article indicates that WebP has enough momentum to potentially be useful. The fact that other browser(s) are adding support is even more relevant. So the real question I believe is what wouldn't they add it? It's not costing anything, and (apparently) it's already been developed. So what's the issue?!

      Not it doesn't. It means you read articles on Slashdot--a site that represents probably 0.00001% of all Internet users interests.

    4. Re:Why NOT? by Bloodwine77 · · Score: 2

      It is on Slashdot not because it has a lot of momentum, but because it is being heavily pushed by Google. If it were anybody other than Google, we wouldn't still be talking about WebP. That, and Google makes a browser so at least one browser will support it.

      This isn't much different if Microsoft tried pushing their own format.

      I understand what Google is saying about licensing, but in the real world it won't make much difference.

      PNG was introduced in a similar fashion to work around GIF legal issues. PNG is superior to GIF from a technical and quality perspective, and it still has sluggish adoption.

    5. Re:Why NOT? by Snaller · · Score: 4, Insightful

      "but I think it's pretty obvious that WebM is destined for the same place as VESA and HD-VHS landed. Nice idea..... not adopted by the general public."

      The public have no idea about graphics formats, nor do they give a crap.
      If google were to make a ton of source code examples in everything from C to Visual Basic to Lisp or DOS showing how to read, write and save, and make many free programs to do conversion, then programmers might start using them.
      Of course its google, and they rarely do things like that right.
      So you are probably right, its going to die.

      --
      If Google really cared they would fix Android Chrome to reflow text, instead of discriminating
    6. Re:Why NOT? by amliebsch · · Score: 2

      Windows Imaging Component Adding additional codecs is really not that hard.

      --
      If you don't know where you are going, you will wind up somewhere else.
  4. Interesting... by fuzzyfuzzyfungus · · Score: 4, Insightful

    It is somewhat interesting to see an image format brought to the table without something basic like support for EXIF storage of some kind, or some feature(however crudely hacked on) that makes it clearly superior to JPEG(like an Alpha channel).

    I can understand that somebody the size of Google probably gets real worked up about how to shove more images through slightly less bandwidth; but that actually seems like kind of a niche concern: For icon/branding/graphic design purposes, much of the heavy lifting is done by lossless(for clean, non-crunchy look); but small because of limited color palettes, broad areas of flat color, etc. images. That's mostly GIF and PNG, with some Flash and SVG.

    For everyone from people who barely care to people who care how it will look as an 8*10 or a desktop background, you have JPEGs of various sizes and compression levels. On the low end, people will put up with some seriously grain-tastic shit, so long as it loads fast. Anybody who is too good for JPEG entirely is probably either slamming around some fancy print-ready flavor of TIFF, or storing whatever flavor of RAW their preferred camera back spits out.

    I'm just not seeing the under-served niche here.

    1. Re:Interesting... by steelfood · · Score: 4, Insightful

      Trying to unseat JPEG is akin to the various attempts at unseating MP3. Unfortunately, it's not going to happen. There's just too much support for JPEG out there. Nobody's going to support a second file format just because; they rather spend the development time enhancing their product in more meaningful ways.

      Even Apple had to cave when it came to MP3 (they wouldn't sell it, but the iPod had to play it). I can't imagine Google could possibly do any better with JPEG.

      --
      "If a nation expects to be ignorant and free in a state of civilization, it expects what never was and never will be."
    2. Re:Interesting... by adolf · · Score: 4, Informative

      Even Apple had to cave when it came to MP3 (they wouldn't sell it, but the iPod had to play it).

      Your history is backwards:

      The iPod first launched on October 23, 2001, and it played MP3s just fine at that time.

      The iTunes Music Store opened on April 28, 2003. Prior to this, Apple didn't sell content for the devices.

      Apple never "caved," they simply built an MP3 player which happened to be successful. Later on, they started selling content for it (in the arguably more space-efficient AAC format).

    3. Re:Interesting... by Timmmm · · Score: 2

      It could happen, but it needs to be *actually better*. To even have a chance of succeeding I'd say a new image format needs:

      1. Alpha channel support.
      2. Lossless *and* lossy compression.
      3. Should be suitable for photos (JPEG), diagrams (PNG), and mixtures (e.g. screenshots of web pages). Don't tell me this is impossible - it's not.
      4. Support decoding of subsets of the image (i.e. tiling).
      5. EXIF.
      6. Good support for multiple colour spaces.
      7. Progressive decoding.
      8. Better compression than JPEG.

      WebP fails on at least 1, 3, 4, 5, 6, and maybe 7. An image format that satisfied all of those would certainly be worthwhile.

  5. "As the WebP image format exists currently, by makubesu · · Score: 2

    I won't accept a patch for it. If and when that changes, I'll happily re-evaluate my decision!"
    Quality community driven, bottom up open source software at work!

    1. Re:"As the WebP image format exists currently, by ustolemyname · · Score: 2

      You mean that h.264 support they dropped earlier this year?

      Total sidenote: x264 is an h.264 encoder. h.264 is the actual codec.

  6. Picasa by bonch · · Score: 2

    Picasa? I would think the stronger indicator of support would be Chrome, but then again, Google's schizophrenic position on codec support ("We're rejecting H.264 video in the name of openness! Now enjoy the bundled Adobe Flash plugin and MP3/AAC playback.") makes them difficult to gauge.

  7. Seems Solid by farnsworth · · Score: 5, Informative
    Seems like perfectly solid reasoning to me:

    Currently, it only supports a subset of the features that JPEG has. It lacks support for any color representation other than 4:2:0 YCrCb. JPEG supports 4:4:4 as well as other color representations like CMYK. WebP also seems to lack support for EXIF data and ICC color profiles, both of which have be come quite important for photography. Further, it has yet to include any features missing from JPEG like alpha channel support.

    [...]

    Every image format that becomes “part of the Web platform” exacts a cost for all time: all clients have to support that format forever, and there's also a cost for authors having to choose which format is best for them. This cost is no less for WebP than any other format because progressive decoding requires using a separate library instead of reusing the existing WebM decoder. This gives additional security risk but also eliminates much of the benefit of having bitstream compatibility with WebM. It makes me wonder, why not just change the bitstream so that it's more suitable for a still image codec?

    WebP, by Jeff Muizelaar.

    --

    There aint no pancake so thin it doesn't have two sides.

  8. Re:That's dumb. by Anonymous Coward · · Score: 3, Insightful

    No it is not dumb. Other than bloat there are support and security considerations. If it doesn't improve the status quo significantly why would you want to add work to already overloaded developers? Any code new code path can potentially add an exponential maintenance burden, slowing down future development. If it becomes an important format then the maintainer who rejected the patch has stated he is willing to re-evaluate letting the patch in. You really only ever want code in a project that you know the developers care about and are going to watch as well as have the knowledge to fix if a vulnerability is found.

  9. alpha transparency by edxwelch · · Score: 3, Informative

    If webp supported alpha transparency it would be useful. png is a lossless format and therefore much bulkier. A png is normally 5 times bigger than jpg image. But jpg doesn't support transparency

    1. Re:alpha transparency by Derek+Pomery · · Score: 5, Interesting

      Amen. When I first heard about this format I was excited. I thought finally we had a lossy image format that would have an alpha channel. I was shocked to discover this was not the case, that it was basically just a static frame of video, with nothing else.

      It offers little to no advantage over JPEG.

      I'm still bitter over JNG getting killed off. It is possible to hack around the lack of a good JNG using 2 JPEGs (one for the alpha) plus a bit of javascript and a , and this can even be styled in CSS with mozElement and the slightly less flexible webkit alternative. But I have to say, overall, I'm cheering for Microsoft's apparently open JPEG XR standard.

      Never thought I'd be saying *that* :)

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
  10. Re:That's dumb. by Mekabyte · · Score: 5, Informative

    As author of the Mozilla WebP patch, I can confirm that this was originally true. However, due to various shortcomings in design, WebP split off into its own codec library.

  11. Is OSS going backwards? by w0mprat · · Score: 2

    How about baseing such as decision on considering what users want / need / might find useful, rather than some developers opinion of whether the technology has merit. Failing all that, because it gives users and web content creators an open source alternative choice?

    --
    After logging in slashdot still does not take you back to the page you were on. It's been that way for 20 years.
  12. Re:"Advantages over JPEG" by petermgreen · · Score: 3, Informative

    PNG is lossless

    More specifically it's a lossless representation of a single layer RGB image.

    better for photos then JPEG.

    For display of photos on the web the huge filesize advantages of JPEG outweigh the minor reduction in quality.

    --
    note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  13. Re:Good by Dracos · · Score: 3, Interesting

    Imagine if, instead of DVD, we would have had another Betamax vs. VHS war. (Call it DVD vs. BetaDVD.)

    You mean like HD-DVD vs BluRay?

  14. JPEG 2000 by TheSync · · Score: 2

    1) We know that JPEG 2000 (part 1) is most likely truly freely licensable. It was designed this way, and has been around for many years and used by deep pocketed companies for digital cinema, this I suspect any submarine patents would have surfaces by now. I can't say the same for WebP, WebM, or even H.264.

    2) JPEG 2000 can have whatever color components you want. If you want a component to be an alpha channel, that is great, do it.

    3) JPEG 2000 was developed by and international standards organization, so you know a lot of eyes saw the specification during development to ensure it is a well defined standard.

    4) JPEG 2000 has a lossless option.

  15. We're talking about WebP, not WebM by YA_Python_dev · · Score: 2

    This article is about WebP, not WebM. Firefox does very much support WebM, just as do Chrome, Opera, Safari and IE (these last two browser require the WebM codecs to be installed, all the other just work). And YouTube is serving WebM video (among other formats).

    --
    There's a hidden treasure in Python 3.x: __prepare__()
  16. JPEG XR license problems by tepples · · Score: 2

    WebP has a reference implementation whose license is compatible with free software licenses. JPEG XR, on the other hand, has patents licensed under terms that do "not provide the freedom that the GPL requires" according to the Software Freedom Law Center. And the copyright license of its reference implementation, the HD Photo Device Porting Kit, is not compatible with the GPL or any other copyleft license. Therefore, a JPEG XR decoder and GPL code cannot be combined to form one larger program. See Wikipedia:JPEG XR#Licensing and Wikipedia:Microsoft Open Specification Promise#Scope limitation.

  17. One format to rule them all by paulkoan · · Score: 2

    I want a new image format.

    I want alpha, I want CMYK or whatever colourspace. I want exif or whatever metadata.

    But more than anything I want it to support both lossy and lossless algorithms so we can finally see an end to people using jpg for everything, including hard contrast logos.

    It would just take a checkbox on the save dialog with some wording to encourage lossless where appropriate.

    --
    This signature intentionally left blank
  18. Why not as a TIFF plugin? by Just+Some+Guy · · Score: 2

    I'm by no means an image expert, so read this as a question and not a suggestion: why isn't this implemented as a compression format for TIFFs? My understanding is that a TIFF is basically a bunch of metadata wrapped around a chunk of image data. I mean, look at the output of tiffinfo sometimes. I have a hard time believing WebP could require metadata than TIFF already supports, but you could add new private fields if it does. Given that you already have a (to my eyes) perfectly usable container, it seems like a waste not to use it.

    --
    Dewey, what part of this looks like authorities should be involved?
  19. Interstingly by geekoid · · Score: 2

    pretty much all his argument could have been used on why NOT to use Mozilla when it was new.

    Something that's being overlooked here is size. WebP is about half the size of an equivalent Jpg.

    Of course, ti really won't go too fer until the add the alpha ability.

    After which I expect it to make some quick jumps on the way to becoming the standard.
    For no other reason then every cloud based storage is going to want users to use it.

    I have 40+Gigs of Jpgs. We aren't even very active with the picture. Some people know seem to be constantly taking picture, so I'm sure there have 100's of Gigs worth of Jpgs. The value add of cutting the image size in half is huge. Not just for storage, but for transferring from smart phones.

    It also occurs to me that cutting the image size in half would be desirable form telco that support smart phones on their systems.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  20. Re:Google - Microsoft Lite by geekoid · · Score: 2

    Yes, putting in systems that make it more open, available to every one, and make the web use a better experience is exactly the same as what MS did when it create specific ways where there proprietary formats were used and then developers had to use their tools~

    Yes, we should create a process for anything new to be adopted on the web, that would work so well~

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect