Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Google Graphics Media The Internet Technology

Google Releases New Image Format Called WebP 378

An anonymous reader writes "Google has released WebP, a lossy image format based on the image encoding used by VP8 (the video codec used in Google's WebM video format) to compress keyframes. According to the FAQ, WebP achieves an average 39% more compression than JPEG and JPEG 2000 while maintaining image quality. A gallery on the WebP homepage has a selection of images which compare the original JPEG image with the WebP encoded image shown as a PNG. There's no information available yet on which browsers will support the WebP image format, but I imagine it will be all the browsers which currently have native WebM support — Firefox, Chrome, and Opera." Independent analysis of WebP is available from a few different sources.
This discussion has been archived. No new comments can be posted.

Google Releases New Image Format Called WebP

Comments Filter:
  • by symbolset ( 646467 ) on Friday October 01, 2010 @09:16AM (#33757810) Journal

    Apparently over at TG Daily Emma Woollacott [tgdaily.com] thinks WebP is a Microsoft innovation. They've also reassigned Richard Rabbat to Redmond, which will probably be quite a surprise to him.

    Meanwhile, in 2016 when the IE team gets around to implementing this image format they'll find a way to put an exploitable buffer overflow into it.

  • Not as Sharp (Score:4, Interesting)

    by Saint Stephen ( 19450 ) on Friday October 01, 2010 @09:21AM (#33757846) Homepage Journal

    I can visibly see a difference in ALL the pictures. The WebP version is slightly murkier and less shows less detail than the JPEG version.

    It's like people say you can't hear the difference in suitably high-bit rate MP3, but I can - in the cymbals - they're not as bright as CD or FLAC.

    This is kind of like that. It's ALMOST pretty great, but it's not as great. I guess if we all lower our expectations, we can get used to it.

    • Re: (Score:2, Interesting)

      by Zelgadiss ( 213127 )

      I don't notice much loss of detail in the ones on http://code.google.com/speed/webp/gallery.html , it's just that the webP ones are darker for some reason.

      There is no reference image, so I have no idea which is more correct.

      • Re:Not as Sharp (Score:4, Informative)

        by EdZ ( 755139 ) on Friday October 01, 2010 @09:41AM (#33758028)
        Look at the edges of the red and orange areas in the third image. The WebP version has some very nasty aliasing, and a line of black pixels inside the border.
        Cheekily, most of the WebP sample images on the page linked in the summary are higher resolution than the jpeg images they're compared to.
        • Re: (Score:2, Interesting)

          by Zelgadiss ( 213127 )

          Again without reference images, we can't really say which is correct.

          Good catch on the resolution differences.
          But it might be just a mistake, as in the footballer one they are both the same resolution.
          The same for 1 & 9 too.

        • Re:Not as Sharp (Score:5, Insightful)

          by DarkIye ( 875062 ) on Friday October 01, 2010 @10:12AM (#33758356) Journal
          Eh? The pixels you refer to are only slightly darker, not black.

          .

          I'm very impressed with WebP overall. The images are sharper and have better colour tones, and obviously lack those awful JPEG colour smudges. The resolutions are unimportant - the important thing is that WebP produces the images at the same size at similar or superior quality. They are also significantly smaller.

          I'd just like this opportunity to say "fuck the shitty Slashdot comments system". Try and guess which of the myriad reasons is causing me to complain this time!

      • by Inda ( 580031 )
        I cannot trust my eyes so I used a difference filter and there really isn't much difference. Interesting Mr Google but one has to ask why?
      • Re: (Score:3, Interesting)

        by GooberToo ( 74388 )

        Actually if you look at the football player, you can actually see artifacts to the right of the player's head, as well as a smaller, less obvious artifact halo around his body in the JPEG image, which is entirely missing in the webp image. Aside from that, everything looks more or less the same to me. Again, aside from the football player image, I wouldn't prefer one over the other which means, for me, webp is the winner.

        A bigger questions is, with the rise of small computing devices, how does decoding perf

        • Re: (Score:3, Interesting)

          by click2005 ( 921437 ) *

          is that still a viable solution?

          I'm guessing this isn't really about getting a better image format. That is just a stepping stone to their real goal.
          It shouldn't be too hard to get it put into a chip (for cameras, portable devices & media players). Once that is done
          those devices should (with little modification) be able to use WebM video files too.

    • True... (Score:3, Insightful)

      From the x264 link:

      What a blur! Only somewhat better than VP8, and still worse than JPEG. And that’s using the same encoder and the same level of analysis — the only thing done differently is dropping the psy optimizations. Thus we come back to the conclusion I’ve made over and over on this blog — the encoder matters more than the video format, and good psy optimizations are more important than anything else for compression. libvpx, a much more powerful encoder than ffmpeg’s jpeg encoder, loses because it tries too hard to optimize for PSNR.

      These results raise an obvious question — is Google nuts? I could understand the push for “WebP” if it was better than JPEG. And sure, technically as a file format it is, and an encoder could be made for it that’s better than JPEG. But note the word “could”. Why announce it now when libvpx is still such an awful encoder? You’d have to be nuts to try to replace JPEG with this blurry mess as-is. Now, I don’t expect libvpx to be able to compete with x264, the best encoder in the world — but surely it should be able to beat an image format released in 1992?

      Earth to Google: make the encoder good first, then promote it as better than the alternatives. The reverse doesn’t work quite as well.

    • Think positively. It sounds like a business opportunity to me.

      Think all the special power cables, wooden volume knobs, and the other BS that gets sold to "audiophiles" who don't, in fact, hear the difference, under the claim that it'll increase the fidelity when they listen to something off their iPod. You just need to add an organic, hand-tuned volume knob, and *wham* all those missing harmonics spring into place.

      I for one welcome this new development and would like to offer videophiles an amazing DVI-D ca

      • Re: (Score:2, Funny)

        by MachDelta ( 704883 )

        Audiophiles don't use iPods. Crappy EQ. ;)

        • Re: (Score:3, Funny)

          by Moraelin ( 679338 )

          Audiophiles don't use iPods. Crappy EQ. ;)

          You'd be surprised what some use.

          E.g., I remember one case from another board who was hearing differences in sound quality when playing MP3's off different hard drives in his computer. And no, he didn't mean the HDD's own noise. He was convinced that it's like on the old cassettes, where different kinds of tape (e.g., iron vs chrome) had different frequency responses. So it stood to reason to him that some HDD's have better bass than others.

    • Re:Not as Sharp (Score:5, Insightful)

      by m2pc ( 546641 ) on Friday October 01, 2010 @09:31AM (#33757938) Homepage
      I disagree. Look at images #3 and #4. The WebP versions are clearly sharper and more detailed than their JPEG counterparts. Other than that, the rest of the images are so close it's difficult to tell which is better. For a 39% size reduction, I think WebP has a clear advantage over JPEG. Some questions remaining are a) will companies actually adopt WebP and popularize it, or will it die a quiet death, and b) how CPU and memory-intensive is the algorithm to implement compared to JPEG, especially in mobile devices with limited resources and CPU power?
      • I disagree. Look at images #3 and #4. The WebP versions are clearly sharper and more detailed than their JPEG counterparts.

        Um, dude... you realise they generated that WebP image from the JPEG... there can’t be any more detail than the original. If there is, it’s a compression artifact.

        • Re: (Score:3, Interesting)

          by Fnkmaster ( 89084 )

          Actually, apparently those are all generated from higher resolution source images (which were previously JPEGs, yes, but at a higher resolution, so that presumably their prior JPEG compression is roughly irrelevant to the current round of compression).

    • Re: (Score:3, Informative)

      by Dan East ( 318230 )

      I don't agree. Take a look at the NFL logo on the football player's jersey just below his neck. If you zoom in and compare then you'll see the WebP version is crisper.

      Are there any specific portions of the images where you feel JPEG has better clarity, so others can compare them as well?

    • Re:Not as Sharp (Score:5, Interesting)

      by GreyWolf3000 ( 468618 ) on Friday October 01, 2010 @09:34AM (#33757974) Journal

      I disagree with this. A music track exists to sound good, so degradation of quality transitively degrades its' purpose. However, not every image on the web was designed to be an artistic masterpiece. For most use cases, smaller filesize for slight drop in quality is a reasonable tradeoff. You can still use PNG for the stuff that you want to render just a certain way; remember, most of us have monitors that inject their own "noise" into the color spectrum of the photos we're watching. Besides, this is all up to the guy (or gal) hosting the website. Since (presumably) it's their content, I think it's fair that they have the choice to choose the quality/compression level that both saves bandwidth costs and looks good.

    • Re:Not as Sharp (Score:5, Informative)

      by TheRaven64 ( 641858 ) on Friday October 01, 2010 @09:38AM (#33758010) Journal

      The images from the x264 comparison are the most striking. In particular, compare the parasol. With the H.264 keyframe, you can see the spokes and the structure. With the JPEG version, there's some macroblocking, but the features are detectable. With the WebP one, it is just a red circle. The rest of the image is similar.

      This is really a shame. Replacing JPEG is probably worthwhile - it's an ancient standard in computing terms. It comes from 1992, making it about the same age as the web. We have almost two decades of image encoding research to build on since then and, almost as importantly, computers are now much more powerful. The first web browser I used was on a 386, which was just about fast enough that the modem was the bottleneck when decoding JPEG images. Now, decoding even large JPEG images doesn't tax my CPU, so we have a lot more cycles to play with for efficient compression. Things like JPEG-2000 provide this, but because they're newer there is a potential for submarine patents to cause problems for them (as happened with GIF).

      The problem with replacing JPEG is the install base. Every graphical web browser since Mosaic has been able to view JPEG images. None can see your new standard (without a plugin). No existing image editors or cameras can generate your new standard (without an external program). Remember how difficult it was for PNG adoption, and that was with the threat of patent lawsuits for encoders.

      • Re: (Score:3, Informative)

        by cgenman ( 325138 )

        I've slowly become a fan of JPEG-2000. For those that don't know, JPEG-2000 lets you encode the largest image once, then download only the amount of file that you need for the image resolution that you're displaying. So those 5 or 6 different size versions of your vacation photos in a gallery and the thumbnail on a server can all come from the same file.

        There are also far less artifacts at lower bitrates.

        There are a few other technological tricks in JPEG-2000, but those are the major ones. Sadly, as you

    • Re: (Score:2, Interesting)

      Hmmm... I don't think so. The jpeg artifacts (blurry edges) are not present in the webp format. Take a look around the ear of the football player (actually, around his face in general). The blue transition is more "pure" in the webp version. As for the detail, how many white lines in the middle of the road in the tunnel can you count? In the jpeg version I count 4, maybe even 5 with a little bit of imagination. In the webp next to it there are 5 lines clearly visible an a 6th one is very faint in the far en
    • Re:Not as Sharp (Score:5, Interesting)

      by mcvos ( 645701 ) on Friday October 01, 2010 @09:43AM (#33758040)

      I can visibly see a difference in ALL the pictures. The WebP version is slightly murkier and less shows less detail than the JPEG version.

      More accurately, WebP doesn't invent any additional detail. Look at the second image. Lots of artifacts on the background around his head. The WebP version is sharper, has less artifacts, and is a whopping 75% smaller.

      Clearly WebP is especially good at photos with large areas of the same colour, something that JPEG has always been incredibly bad at.

    • I don't know why someone would mark this as flamebait. I'm just offering my opinion about what I see.

    • I'd wait until some (independent) third party has the chance to do comparisons. Google are obviously going to cherry-pick their images that look good in WebP versus JPEG, so their gallery is pretty much worthless.
    • You expected less detail. You perceived less detail. /thread

    • I was thinking the same thing, but I think the issue here is that the WebP graphics were compressed twice - to PNG because browsers do not currently support WebP.

      The sample images were all pulled off of Wikipedia, and could have been JPEG to begin with, so you are then converting JPEG -> WebP -> PNG. WebP is a lossy compression format, according to the summery, so it only goes to show that if they are starting from a JPEG and recompressing, the WebP (and final PNG) will be worse than the original JPEG

      • Since PNG compression is lossless, it doesn't matter at all for the purpose of quality. Whether you had their webkit in your browser and had the image decoded directly to screen, or have it compressed to PNG first, is basically irrelevant. It'll look exactly the same.

    • by goodmanj ( 234846 ) on Friday October 01, 2010 @11:42AM (#33759752)

      If you already know which is WebP and which is JPG, you're unavoidably biased. We're not going to settle this without a blind trial.

      Slashdot hackers! Your mission, should you decide to accept it, is to write a little website which encodes a series of raw never-been-compressed images as WebP and JPG of equal sizes, presents both side-by-side to the user, and has them click on the one they think is "better". Do not label which image is which: randomize them. Collect statistics and present the data on the site.

      Any good php hacker should be able to whip this up in about an hour. I'd do it, but I've got work to do.

      • Re: (Score:3, Funny)

        by Raenex ( 947668 )

        Any good php hacker should be able to whip this up in about an hour. I'd do it, but I've got work to do.

        I'm sure you'll spend an hour after work then. Thanks!

  • Great. So? (Score:5, Insightful)

    by ceoyoyo ( 59147 ) on Friday October 01, 2010 @09:22AM (#33757866)

    JPEG was cutting edge a couple of decades ago but it's not very hard to beat now. We still use it because everything supports it and it's good enough.

    • If it isn't supported by IE, it won't be of use on the web. Not that there aren't other possible uses for it, but that's a pretty important one.

  • I don't see that very annoying JPEG halo affect in the WebP image. Compare the blue background around the football player's head.

    • Re:Halo (Score:5, Informative)

      by kill-1 ( 36256 ) on Friday October 01, 2010 @09:32AM (#33757952)

      That's because the scaled down preview JPEGs are compressed twice which is completely idiotic of course. Check out the unscaled images for the real deal.

  • What, and get back to waiting until it is supported and/or rewriting image tools to accommodate the new type? I've just had the (dis)pleasure of programmatically converting JPEG2000 images to JPEG and bitmaps, and I sure as hell don't want to waste more time writing yet another converter for a type that will be useless 4 months after I finish coding it.
    And really, who cares about a wee bit increase in compression rate? Computers are getting faster, networks are getting faster and grander in bandwidth, a
    • > networks are getting faster and grander in bandwidth
      You mean... outside the USA?
    • Why not use ImageMagick for your converter? They support all sorts of formats and have a powerful command-line arguments that allows you to specify all sorts of conversion options. I am sure they will quickly pick up WebP.
  • Well... (Score:4, Interesting)

    by sweffymo ( 1760622 ) on Friday October 01, 2010 @09:32AM (#33757950)
    Meh. I always use PNG anyway. With the advent of faster web connections, there is no need for more compression.
    • Re:Well... (Score:4, Insightful)

      by Anonymous Coward on Friday October 01, 2010 @09:36AM (#33757998)

      There's always need for more compression. It all adds up. One loser at home isn't going to care, whereas an ISP with 20 million users might. Users might care when we eventually switch over to being billed by the byte, and being stuck on slow connections like cellular networks.

    • Re:Well... (Score:5, Insightful)

      by Cornelius the Great ( 555189 ) on Friday October 01, 2010 @09:45AM (#33758052)
      Memory is a concern, especially on embedded devices. Plus, many mobile devices have built-in hardware encoding/decoding support for JPEG to minimize CPU and memory usage.

      PNG is a great format, but we don't need lossless for most pictures on the net.

      Rather, rather than replacing everything with PNG, the web needs a lossy image format with alpha support and ability to do lossless when needed. Oddly enough, (currently) WebP does neither...
  • What a load a crap (Score:5, Insightful)

    by suso ( 153703 ) * on Friday October 01, 2010 @09:34AM (#33757976) Journal

    Most of the formats in general use are over a decade old, and the company says that they're consistently responsible for most of the latency users experience

    BULL SHIT! Images are nothing anymore. Its poor javascript coding, flash ads and all the dependent site components that are responsible for most of the experienced latency now. Images don't mean squat unless you're still on a 28.8 modem.

    Also, one way you can make jpeg images smaller is to set the quality value to 75 or 80, most people won't notice the difference and the size of your image will reduce dramatically. The problem today is that people leave their images at full quality right off their camera and upload a 2MB image file when it really only needs to be 138KB. WebP won't fix that user mistake.

    • Do read the last link in TFS. They compress to the same image size and still WebP performs better. I for one would prefer a better compression algorithm that includes more detail for the same image size (Even if it is a 2MB file, I would prefer WebP to JPEG). Buts thats just me.
       

    • Actually, gonna agree with this guy. Especially if you twiddle the compression/optimization levels with software that supports them, e.g. GIMP.

      Original JPEG: 677,662 bytes
      http://ompldr.org/vNXAxOA/2_original.jpg [ompldr.org]

      Recompressed JPEG: 90,930 bytes (86.6% smaller)
      http://ompldr.org/vNXAxOQ/2_recompressed.jpg [ompldr.org]

      Is there even a difference? Of course there is. Is it significant enough that your average web user will be browsing Sports Illustrated dot com and say “wow these images look crappy”? Hell no.

    • Re: (Score:2, Insightful)

      by Anonymous Coward

      So that only leaves one option: cui bono? Could Google want to reduce bandwidth just for its own benefit?

    • Solution: (Score:4, Insightful)

      by thijsh ( 910751 ) on Friday October 01, 2010 @10:48AM (#33758888) Journal
      Good point, a real addition that would be beneficial to mitigate uselessly big photo's would be an image format that contains a thumbnail, small version, larger version and huge version of the photo in progressive order and only downloads the parts needed to display at the size on the screen. JPEG and GIF supported progressive images, with WebP they could enhance on this to have some real images within boundaries clearly segmented in chunks... So when a user uploads a 16MP photo and the website displays it at 320x240 you only download the first two chunks, unless of course you zoom in and the browser downloads the rest of the same file. When launching a new format they have a chance to create something a little revolutionary, the work to add the code to all browsers needs to happen anyway.

      Multiple chunks in progressive sizes will get rid of all the extra thumbnail and small version files that need to be created, stored and downloaded. For example searching an image on Google image search shows:
      - 125x125 thumbnail in results
      - 250x250 zoomin thumbnail over results
      - 550x550 preview over webpage (scaled version of full image)
      - 16MP image when downloading

      When for example you don't like the preview image and don't want to save it you will still have downloaded several MiB... very wasteful, and my cache is littered with several thumbnails per image.
      With the progressive chunked version you would only have downloaded the first few percent of the image until 'chunk_pixels > viewport_pixels'.

      Some other advantages:
      - VP8 is a video codec, so you can predict parts of the larger chunks based on the small chunks before that (basically a gradually focusing video). It may require some specific optimizations but should not increase the total size by a lot (so thumbnails are a free bonus).
      - The images are displayed faster while loading, and not top-down but gradually sharper (the old advantage of progressive encoding, but fuck those JPEGS were ugly).
      - You can display a photo at a low resolution on the webpage but still get sharp high resolution prints without wasting bandwidth of all users just viewing the page.
      - This will make it easier for browsers to scale down large images smoothly (try viewing a 50MP image, no browser scales that smoothly) without requiring massive amounts of CPU.
      - Reduce bandwidth, storage and caching requirement for websites and for clients.

      So Google if you want to save bandwidth: make a format that stores large images in progressive chunks so browsers only need to download as much of the image as is needed to display the current size on screen.
    • by GweeDo ( 127172 )

      I did a little looking to see how accurate this was and here is what I found:
      MSN.com:
      67KB Documents
      84KB Images
      286KB Scripts

      Slashdot.org
      121KB Documents
      168KB Stylesheets
      63KB Images
      418KB Scripts

      Digg.com
      65KB Documents
      60KB Stylesheets
      378KB Images
      240KB Scripts

      Gmail.com (my Inbox)
      931KB Documents
      65KB Images
      108B Scripts
      1.33MB XHR

      ps3.ign.com
      168KB Documents
      120KB Stylesheets
      1.28MB Images
      436KB Scripts

      flickr.com
      34KB Documents
      5KB Stylesheets
      165KB Images
      2KB Scripts

      cnn.com
      172KB Documents
      236KB Stylesheets
      398KB Images
      945KB Sc

  • But very few companies embraced it. Just give a look to its capabilities [wikipedia.org]!
  • As long as crappy digital cameras save as Jpeg, people will use Jpeg. I'm not holding my breath. I also doubt anyone would bother converting their JPEG images to this new one, considering they're both lossy.

    So honestly, what itch is being scratched here? Just a smaller filesize? Fear of bogus patent suits from dipshit and trolls like Forgent and Global Patent Holdings(both invalidated, but I'm sure patent trolls won't have any trouble finding anything even in a new clean-room implementation to sue over).

    Gr

    • by LWATCDR ( 28044 )

      Except for all the photo sites. Just like YouTube the can transcode the images "most already do to make thumbnails". For them saving the bandwidth and storage costs may make it very worthwhile.
      The problem will be waiting for Microsoft to support it.
       

  • by Aphoxema ( 1088507 ) on Friday October 01, 2010 @09:37AM (#33758004) Journal

    Something suspiciously absent is any mentioning of license. I don't think it is necessary for me to describe why that's a problem.

    • I see no reason why would this be different than WebM (or the rest of the Webkit).

      The format will probably struggle already to succeed, if they add cumbersome licenses so that Firefox doesn't add support for it they can shelve it right now.

    • Re: (Score:3, Informative)

      by nyri ( 132206 )

      Something suspiciously absent is any mentioning of license. I don't think it is necessary for me to describe why that's a problem.

      See file LICENCE inside source package [googlecode.com]. It is 3-clause BSD licence.

  • by Anonymous Coward

    Is WebP free?

    Does Google have any patent claims or other intellectual property claims (pending or otherwise) over WebP/

    If so, then it is not free :-(

    • Re: (Score:3, Insightful)

      by Aphoxema ( 1088507 )

      Yeah, considering that this is /. I'm surprised not more people are asking about that right away.

      • Re: (Score:3, Funny)

        by beelsebob ( 529313 )

        No no, you're missing the point. People here only care about something being free if it gives them the chance to bash microsoft or apple. This would only give them oportunity to bash google, so it's inaplicable.

  • The main problem with new file formats is adoption. JPEGs have been the main image type online ever since the world realized that GIF sucked. Boards that allow image posting allow JPEG, social networks etc. which allow profile pictures allow JPEG, image search engines catalogue primarily JPEGs, almost every site's design utilises JPEGs. Offline it's the same; every OS which allows background images uses JPEG. Every image viewer and editor works with JPEGs. JPEGs have been an integral part of the internet fo
    • Not really. Look at PNG. If it has a feature people want (alpha transparency) then it gets used.
      • by Andy Dodd ( 701 ) <atd7NO@SPAMcornell.edu> on Friday October 01, 2010 @10:53AM (#33758990) Homepage

        Problem is that, according to the analysis by the x264 developer (see the first independent analysis link), WebP is missing quite a few features that JPEG has, does not add any of the features JPEG is missing but people really want (like a lossy format that contains alpha capability - although admittedly, lossy compression of the alpha channel itself could cause some REALLY weird artifacts.)

        It also, at least in the current state of the encoder, does not appear to perform any better than JPEG.

  • by frovingslosh ( 582462 ) on Friday October 01, 2010 @09:52AM (#33758120)
    This makes no sense to me. The /. summary claims the webp images are built from the jpeg images. The jpeg images have already suffered loss and thus sacrificed image quality, and if correct any further processing will only be worse, never better. The proper test would be to make a comparison between two forms of lossy compression based on a lossless source (such as a raw file), which I suspect may be what really happened in the comparison. Of course, some people will take poor quality jpeg images and try to compress them further, but you can't blame the bad results this will produce on the new format technology.
  • We already have a "better than Jpeg" standard that hardly anyone supports, JPEG 2000. Anybody know how WebP compares to this?
  • by watermark ( 913726 ) on Friday October 01, 2010 @09:56AM (#33758164)

    On my system, the WebP images take seconds to render, where the jpegs are near instant. This delay is even more noticeable on the last image of the tug boat. I know the memory/cpu trade-off laws, but is this trade-off worth it now? Will this format have to wait until people have better CPUs? They said they put the WebP images in a PNG container, is that affecting rendering speed?

    (I have some random Intel Duo, Chrome, Win7, on a FiOS line.)

    • by Chrisq ( 894406 )

      On my system, the WebP images take seconds to render, where the jpegs are near instant. )

      Clever trick seeing as you can't view webp in a browser yet. I expect you are viewing .pngs produced from the webps.

    • Re:Rendering Speed (Score:5, Informative)

      by clone53421 ( 1310749 ) on Friday October 01, 2010 @10:39AM (#33758768) Journal

      They didn’t put WebP images in a PNG container. They compressed them as WebP, decompressed them, and then saved the raw pixels as PNG. PNG itself is a lossless format, so any differences you see between the JPEG and the PNG were introduced by the WebP compression. The PNG image is also on an order of 10x larger than the JPEG, which is why it takes longer to download/render on your computer...

  • by glatiak ( 617813 ) on Friday October 01, 2010 @09:59AM (#33758182)
    I can only read this with horror -- yet another lossy image format to burden everyone. When I setup a media management system the number of different formats I need to accommodate already makes my head hurt. We are all dancing around the black hole that says the ultimate lossy compression can be achieved by writing to the null device. I guess that is the problem of software -- since it is intangible one can claim better by making it different (and incompatible). One sees few cars on the road with five wheels -- that standardized pretty quick and a long time ago. And I guess everyone likes keeping it art rather than science. Means 'engineer' is just a courtesy.
  • by Chrisq ( 894406 ) on Friday October 01, 2010 @10:01AM (#33758202)
    If it is going to be used instead of JPEG they are going to have to include EXIF data [wikipedia.org]/. I am not clear whether you can currently, evidently some RIFF-based formats can but I am not sure whether just using RIFF enables this.
  • That'll be $200 to upgrade to the new version with WebP support.
  • Jpeg is mostly fine, even for high-quality real-world images if you keep to a high quality setting (95 or more). No visible artefacts, but a factor ten compression compared to good lossless formats. If you, say, want to store a copy of your film scans or other large images, high-quality lossy encoders can save you an enormous amount of space.

    But there's one single problem with using Jpeg for that today: it doesn't support more than 8 bit data per channel. That makes it kind of suck as a lossy format for hig

  • Again (png), and again (jpg), and again and again.... Please, won't somebody think of the pixels?!

  • They're comparing webP to jpeg by testing how well both algorithms can recompress (a set of almost entirely) jpeg images? Really? Really???
    More to the point, jpeg compression artifacts (discontinuities) are a *nightmare* for wavelet coders, so this is in no way fair to jpeg2k.

    Also, from TFA:

    Predictive coding uses the values in neighboring blocks of pixels to predict the values in a block, and then encodes only the difference (residual) between the actual values and the prediction. The residuals typically contain many zero values, which can be compressed much more effectively.

    WTF, this is exactly what a wavelet coder like jpeg2k does, only in a much more sophisticated way.

    This whole thing is so far below any accepted standard of image compression research, it should just be silently ign

  • Famous classic images such as Lena, the Baboon, etc., often used when doing compression comparisons, are unfortunately not free of copyright.

    I thought Playboy relented (just said the hell with it), and released Lenna (the head shot version) to public domain for research purposes?

    Anyways, what people use to consider porn linked (now it seems like tasteful art :) ).:

    http://www.cs.cmu.edu/~chuck/lennapg/ [cmu.edu]

  • The comparison images that Google provides are practically worthless. They use the JPEG version as the original source material, and the WebP version is generated from that. All this is demonstrating is that WebP can recompress a JPEG and preserve the JPEG's existing compression artifacts. BFD. I don't care that you can reproduce a crap picture. Can you reproduce a good picture and make it look better at a given file size than the JPEG? The real test would be to compare a JPEG and a WebP both compressed fr

  • Seriously Google, why isn't there any alpha channel in your new format?

    You had the opportunity of merging the JPEG-like lossy image format suited for photos with the PNG-like alpha channel and you didn't take it?

    Shame on you.

  • The guy at the englishhard.com makes a strong argument for x264 with a proper comparison with non-compressed images upfront. Google has a bad history of not being able to admit they're not the best at everything, and in this case, for my money, they sure aren't.

  • by Graymalkin ( 13732 ) on Friday October 01, 2010 @12:15PM (#33760400)

    The JPEG standard is not perfect. There's several more efficient and effective image codecs available now that were impractical in 1992. However it's relative simplicity and age mean it is trivial to handle on contemporary machines and is available everywhere. Just about any graphical web browser you can find supports JPEG images. While WebP might offer best case space savings over JPEGs of equivalent size the idea that it's somehow appropriate for mass consumption is absurd. The justification of JPEGs slowing down load times for web pages is ludicrous, JavaScript doing a half-assed job of loading resources and unoptimized server access causes far more problems than additional kilobyte in an image. It's yet another half-baked Google project released because there's not enough parental supervision going on.

    WebP does not offer any compelling reason except a promise of space/bandwidth savings over JPEG. It doesn't currently support multiple color spaces, color correction, an alpha channel, or animation. It's promise of space savings at various quality levels is ridiculous because like they did with VP8/WebM Google is only focusing on PSNR measurements. PSNR makes for nice graphs but is not an effective measurement of how images actually look to people. An image that scores well in a PSNR test might look like shit when you actually compare it to the source image. Most JPEG encoders are tuned for psychovisual performance, not to score well in PSNR tests. Testing WebP vs JPEG with VQM tests would be far more appropriate but I suspect WebM would do far worse than with PSNR (since that's what VP8 is tuned for).

    Without a VQM test it's really not appropriate to say that at a given size WebP has better visual quality than JPEG. Even if this turned out to be the case it's missing a lot of other important features that JPEG either has or a truly viable replacement for JPEG should have. WebP only supports a single color space and color profile so if your source images look like shit in that space or with that profile you're out of luck. JPEG can declare an image's color profile or provide its own ICC. It doesn't support lossless encoding or an alpha channel (right now) so it won't be appropriate to replace PNGs and GIFs which are often less optimized for the web than JPEG. It also doesn't support animation which for good or ill is still an important use of GIF files.

    Yet another image format to not get widely accepted on the web doesn't do anyone any good. Why not help support JPEG-2000 or JPEG-XR? Help PNG out with a F/OSS compatible LZMA library. No camera manufacturers will support it because they can't just write a few Exif tags and attach an ICC profile and have a usable image. Converting your personal library means you get not only a lossy-to-lossy conversion but lose the ability to do lossless editing (rotation etc). Because WebP has more complicated encoding than JPEG it's going to require more CPU power to decode, your iPhone an Droid will get worse battery life browsing WebP content than JPEG content. The reduced file size (assuming WebP lives up to its promises) isn't going to make up for the vastly more complicated decoding. So hooray, Google managed to reuse their VP8 encoder for still images while simultaneously not solving any actual problems with images on the web.

Love may laugh at locksmiths, but he has a profound respect for money bags. -- Sidney Paternoster, "The Folly of the Wise"

Working...