Slashdot Mirror


Google Upgrades WebP To Challenge PNG Image Format

New submitter more writes with news that Google has added to its WebP image format the ability to losslessly compress images, and to do so with a substantial reduction in file size compared to the PNG format. Quoting: "Our main focus for lossless mode has been in compression density and simplicity in decoding. On average, we get a 45% reduction in size when starting with PNGs found on the web, and a 28% reduction in size compared to PNGs that are re-compressed with pngcrush and pngout. Smaller images on the page mean faster page loads."

249 comments

  1. NIH by Anonymous Coward · · Score: 3, Insightful

    Why not update the png format? See subject.

    1. Re:NIH by retech · · Score: 5, Insightful

      Because that requires a committee and would take 10x as long, if ever, to get done.

    2. Re:NIH by Trillan · · Score: 2, Insightful

      WebP lossy may not catch on, but it isn't pointless. Compared to JPEG, in return for a muddier image (to my eyes, at least) you get alpha support. As Google is one of the biggest distributors of images on the Internet, I think the real purpose is to pay less for licensing JPEG.

      WebP lossless seems much less useful to me. Unless there's licensing issues I'm not aware of, it seems pretty pointless.

    3. Re:NIH by sstamps · · Score: 2

      Yeah, I was thinking that it sounds like a good candidate for the long-awaited compression method 1. :P

      --
      -SS "Teach the ignorant, care for the dumb, and punish the stupid."
    4. Re:NIH by yog · · Score: 1

      Google has open-sourced the WebP code and utilities, so (I think) this format will not be encumbered by patents or licensing issues. That is a great contribution in itself. I continue to be amazed by Google and its ability to make money while giving stuff away.

      --
      it's = "it is"; its = possessive. E.g., it's flapping its wings.
    5. Re:NIH by sstamps · · Score: 1

      It shouldn't. It's not like they set the PNG format up to be extensible this way.

      If it truly is a significant innovation, it should sail through the standards approval process as a recognized extension.

      --
      -SS "Teach the ignorant, care for the dumb, and punish the stupid."
    6. Re:NIH by BitZtream · · Score: 4, Insightful

      You don't have to pay for a JPEG license, try again.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    7. Re:NIH by BitZtream · · Score: 1, Insightful

      As opposed to PNG and JPEG which are both open and have no patent or license issues either?

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    8. Re:NIH by larry+bagina · · Score: 1

      Google might not have any patents on the algorithms but there may be a patent troll that does.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    9. Re:NIH by stevenvi · · Score: 1

      Open source != patent free.

      I'm not saying that it is patent encumbered, but just pointing out the flaw in your assumption. So long as there is a guarantee that it will be free to use forever, I see no reason why modern browsers shouldn't implement it. What's the downside?

    10. Re:NIH by ubrgeek · · Score: 1

      How are they the biggest distributor? Isn't most of their stuff images other people are hosting (image search) or upload themselves (picasa)?

      --
      Bark less. Wag more.
    11. Re:NIH by Anonymous Coward · · Score: 4, Insightful

      TIFF exists. The world doesn't need another file format where most clients don't implement the full standard and the user can never expect a file in that format to be reliably readable everywhere.

    12. Re:NIH by marcello_dl · · Score: 1

      open source != free for a reason...
      If they license the patents involved together with the source code in a FOSS compatible way, good.
      If they won't try to pull an android and divide users into the group with the latest and greatest implementation (chrome users) and the others, great.
      I should not be criticizing them ahead of time, so let's see.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    13. Re:NIH by Anonymous Coward · · Score: 3, Insightful

      If it truly is a significant innovation, it should sail through the standards approval process

      Hahahahahahahahahahahahahahahahaaaaaaa

      Wow, you've never actually dealt with a standards body before, have you?

    14. Re:NIH by Anonymous Coward · · Score: 5, Insightful

      But extensions are good for adding information, not removing it. You could probably implement whatever compression enhancements Google made to WebP in PNG through extensions, but probably not in a way that makes old versions of libpng still produce usable results while still having a reduced filesize. At which point it doesn't really matter if you add it to WebP or PNG, the backward compatibility benefit of PNG extensions can't be exploited either way

    15. Re:NIH by Kjella · · Score: 5, Insightful

      If it truly is a significant innovation, it should sail through the standards approval process as a recognized extension.

      Which is not actually that helpful, because then you have tons of PNG-capable applications that can't read PNGs. TIFF used to be this way, where TIFF actually means it can be compressed like ten different ways and support was very mixed. If you have a significant new non-backwards compatible format, just releasing it as a new format is maybe just as easy.

      --
      Live today, because you never know what tomorrow brings
    16. Re:NIH by Anonymous Coward · · Score: 0

      Only the old JPEG is license free. JPEG 2000 is not.

    17. Re:NIH by Anonymous Coward · · Score: 1

      I agree, just try to read the ECMA OOXML standard in its entirety before it's obsolete.

    18. Re:NIH by timeOday · · Score: 5, Insightful

      Why not update the png format?

      Recycling a name for a new incompatible format is a terrible idea. If I have a png image and software that supports pngs, I should be able to read that image, period.

    19. Re:NIH by Anonymous Coward · · Score: 0

      How about Google learn to optimally compress PNGs on their own sites first?

      30192 Downloads/nav_logo_hp2.png
      29553 nav_logo_hp2_opt.png

    20. Re:NIH by petermgreen · · Score: 5, Informative

      One of the key design features of PNG was that any PNG should be able to be read by any decoder. That is why PNG has relatively few options on how the core data is encoded*

      Adding optional stuff is ok (unless it's animation......) but if you want to make a key change to the core of the format I suspect the PNG guys would tell you to go make your own format based on PNG but with it's own specification, file extension and "magic number" (as was done for MNG, and JNG).

      * a handful of filter types all of which are easy to implement, one compression algorith, one byte order standard, 15 allowed color/bitdepth combintions (the majority of which represent very comon combinations and all of which can be easilly mapped to 24-bit RGB).

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

      JPEG XR produces images similar to JPEG-2000 while having complexity similar to JPEG, supports transparencies, requires support for lossless compression (unlike JPEG) since lossless is just a quantizer setting, and it's already supported by IE9.

      That last bit is probably the most important part. IE's marketshare is shrinking, but it's still big enough that any format it doesn't support is unlikely to see widespread support as the only format available for a site. I doubt IE will ever support WebP, and as such, no website will ever really be able to use WebP. Not unless they do browser detection, and most sites won't bother with multiple image compression formats, they're going to pick the best common one they can, which is currently PNG or JPEG.

      Remember PNG alpha support... Until IE supported it, nobody really used it. Once IE did, it became mainstream.

    22. Re:NIH by ThePhilips · · Score: 4, Informative

      Here you go, boy.

      Right now JPEG org promises that you will not be sued for implementing the basic JPEG 2000.

      --
      All hope abandon ye who enter here.
    23. Re:NIH by 0123456 · · Score: 5, Interesting

      Which is not actually that helpful, because then you have tons of PNG-capable applications that can't read PNGs. TIFF used to be this way, where TIFF actually means it can be compressed like ten different ways and support was very mixed.

      Only ten different ways? Back in the early 90s I was creating TIFF files that I doubt anyone can display these days; we had our own TIFF tags assigned and could compress files however we wanted to.

      This is why TIFF was:

      1. Very useful for app developers.
      2. A total disaster for interoperability.

    24. Re:NIH by PhilHibbs · · Score: 3, Interesting

      The images you get from Image Search are Google's version of the image which have been resized to fit the search layout. I would still be surprised if that made Google the number 1, I would have thought Akamai would be the top slot, or Facebook.

    25. Re:NIH by Daniel_Staal · · Score: 2

      So long as there is a guarantee that it will be free to use forever, I see no reason why modern browsers shouldn't implement it. What's the downside?

      Extra code that has to be written, loaded, run, tested, and maintained. This leads to application size bloat, larger memory footprints, and more work for developers.

      It may be worth it, if the format is a significant advance. But it's not cost-free, to either the developers or the users.

      --
      'Sensible' is a curse word.
    26. Re:NIH by SanityInAnarchy · · Score: 1

      most sites won't bother with multiple image compression formats,

      Really? I'd think sites would enjoy a 50% reduction in bandwidth in supported browsers, even if they don't get it for IE.

      --
      Don't thank God, thank a doctor!
    27. Re:NIH by ubrgeek · · Score: 1

      I didn't know that. Thanks for the clarification (timely, too. Someone actually asked me a google image related question so this helps me respond.)

      --
      Bark less. Wag more.
    28. Re:NIH by stanlyb · · Score: 1

      Because it is GOOGLE. They once again have to prove that they could actually do something better.....Nice try anyway, maybe next time googlers, don't give up.

    29. Re:NIH by Anonymous Coward · · Score: 0

      If it truly is a significant innovation, it should sail through the standards approval process as a recognized extension.

      Which is not actually that helpful, because then you have tons of PNG-capable applications that can't read PNGs. TIFF used to be this way, where TIFF actually means it can be compressed like ten different ways and support was very mixed. If you have a significant new non-backwards compatible format, just releasing it as a new format is maybe just as easy.

      The PNG format is made of chunks. So one can still keep the current ones and simply have new ones for the lossless stuff.

      The new chunks will be ignored by legacy software, but they'll be able to still display the "lossfull" image using the bits they understand. Newer software will be able to read the whole image in its full glory.

    30. Re:NIH by yog · · Score: 1

      Not as opposed to PNG and JPEG, simply as a (possibly superior) alternative. JPEG did have some patent issues which fortunately have been resolved (google "jpeg patent"). Probably every graphical format that is successful will attract the attention of lawyers of patent holders and patent trolls. Hopefully Google has thoroughly vetted this technology. Pretty pathetic the hoops one has to jump through these days to create something as abstract as a computer image standard.

      --
      it's = "it is"; its = possessive. E.g., it's flapping its wings.
    31. Re:NIH by Ichijo · · Score: 4, Funny

      Recycling a name for a new incompatible format is a terrible idea. If I have a png image and software that supports pngs, I should be able to read that image, period.

      An that goes double for .avi files!

      --
      Any sufficiently unpopular but cohesive argument is indistinguishable from trolling.
    32. Re:NIH by Kickasso · · Score: 5, Insightful

      It's OK, nobody uses JPEG 2000 anyway.

    33. Re:NIH by pinkeen · · Score: 1

      Why would you need alpha with lossy compression? I can't imagine how terribly it would look.

    34. Re:NIH by Anonymous Coward · · Score: 5, Funny

      Why would he? The standards body that approved it didn't.

    35. Re:NIH by snemarch · · Score: 1

      The new chunks will be ignored by legacy software, but they'll be able to still display the "lossfull" image using the bits they understand. Newer software will be able to read the whole image in its full glory.

      >

      Umm, since when has PNG been lossy? O_o

      --
      Coffee-driven development.
    36. Re:NIH by Guspaz · · Score: 2

      Big ones might. But a lot of people aren't bandwidth limited, or won't think it's worth the effort of converting all their images, storing it in multiple formats, and then writing code to dynamically change which images are fed back based on the browser.

      The savings for most sites would likely be minimal anyhow: images get cached. If you're a site like Slashdot, for example, loading the front page will get you the cast majority of images, loading subsequent pages will likely not have much images to download.

      Dynamic content, on the other hand (anything text-based) is going to change dramatically; enabling compression can be an easy win.

    37. Re:NIH by Anonymous Coward · · Score: 1

      ... and then writing code to dynamically change which images are fed back based on the browser.

      You mean the Content Negotiation stuff that is part of most, if not all, web servers already?

    38. Re:NIH by TWX · · Score: 1

      Was interoperability a real goal of the complete standards set though?

      I can see for some antitampering features for support files for software user interfaces, using a quasi-standard format that makes development less expensive but makes it harder for users to screw up would actually be a good thing in some situations.

      --
      Do not look into laser with remaining eye.
    39. Re:NIH by innocent_white_lamb · · Score: 1

      The video component of Digital Cinema Packages (DCP) for commercial movie theatres (digital cinemas, as opposed to the "traditional" 35mm film cinemas) is a stream of JPEG 2000 images.

      --
      If you're a zombie and you know it, bite your friend!
    40. Re:NIH by pclminion · · Score: 3, Interesting

      TIFF used to be this way, where TIFF actually means it can be compressed like ten different ways and support was very mixed.

      TIFFs still are this way, it just seems like everything is "all better" because people throw up their hands and use libtiff, which actually handles a large fraction of the weird shit that's out there. If there were not a peculiar group of masochists who decided this was something worth tackling things would seem quite different. If you wanted to sit down and write a TIFF library yourself that was actually capable of loading a majority of TIFF files out there, you'd spend years doing it.

      If you don't believe me, look inside libtiff. "Initialize Thunderscan! To the turrets!"

    41. Re:NIH by Bitsy+Boffin · · Score: 1

      Or any committee, for anything, anywhere, ever.

      --
      NZ Electronics Enthusiasts: Check out my Trade Me Listings
    42. Re:NIH by Trillan · · Score: 1

      I know I don't. Are you sure Google doesn't?

    43. Re:NIH by sexconker · · Score: 1

      The video component of Digital Cinema Packages (DCP) for commercial movie theatres (digital cinemas, as opposed to the "traditional" 35mm film cinemas) is a stream of JPEG 2000 images.

      And since I'm not producing or distributing those digital movies, I don't give a fuck,
      I'm fairly certain the people who are producing those can either:
        - Pay a licensing fee if there is one in the future
        - Switch to a superior, free/cheaper video codec

    44. Re:NIH by Anonymous Coward · · Score: 0

      I cringe at the amount of "not invented here" stuff.

      Either...
      1. Use what is already out there and shutup about it's inefficiency or
      2. Invent something that is significantly if not substantially more impressive.

      This is why PNG took forever to catch on, Everyone that was using it, was using it to replace static gifs, not for alpha blending. Until MSIE supported it, you were basically stuck with "PNG the truecolor gif that doesn't animate." People had no reason to switch from gif except to give Unisys the middle finger for the LZW algorithm.

      But PNG has it's limitations as well. It only uses the LZ77 compression (circa 1977) as used in zip files. There have been some improvements by using assembler and not using the standard zlib which are backwards compatibile, but the fact that the compression ratio breaks down after 32KB is a limitation of ZLIB itself. If you swap in any other compression method, (LZMA2 which is very slow, but signficantly better compression, or even better PPMd which is extremely fast and efficicient on lossless images) there is significant improvement. But none of these compression methods are efficient accross multicore systems. They're all linear.

      The ZBMV codec is a good example of being pinned to one core. Likewise the Camstudio codec, both of them use zlib (camstudio can use LZO instead) but are most efficient at screencapture sessions, but they're pinned to a single CPU. This is directly a problem of zlib.

      Google doesn't really improve anything with WebP without solving the threading issue. You need to look no further than Chrome itself to see that Google engineers don't like dealing with threading. So like WebM, it's not a real solution because it's being solved by throwing more CPU at it instead of figuring out how to utilize multicores or even the GPU to encode and decode it.

      I already do not like the limitations of WebP, 16K side lenght? have these people never opened a RAW DSLR image? I'm sorry but WebP is a solution looking a problem that's already been solved. Please try again.

    45. Re:NIH by Anonymous Coward · · Score: 0

      Except that .avi is just a container, not an a/v codec, while .png is the actual 'codec'.

    46. Re:NIH by fotang · · Score: 1

      JPEG 2000 is used as an alternative to WSQ to store fingerprint images. Therefore, nobody doesn't use JPEG 2000 anyway.

    47. Re:NIH by n0-0p · · Score: 1

      IE is currently around 40% of the market--a far cry from the +90% they were at when they stalled adoption of PNG. And while I agree that JPEG XR is a good format, MS chose to release the code under a license that is GPL incompatible. So, a clean-room re-implementation would be necessary before most open source projects could touch it.

    48. Re:NIH by thetoadwarrior · · Score: 1

      NIH is a good thing sometimes. After all if it weren't for NIH we'd have one OS, one browser, etc. What good is that? jQuery would not exist because prototype came first. You should be grateful that people take their own attempts at a problem. We benefit tremendously from it.

    49. Re:NIH by thetoadwarrior · · Score: 1

      Javascript hasn't really been improved and afaik dropped useful stuff to get everyone to agree on it.

    50. Re:NIH by Man+Eating+Duck · · Score: 1

      use libtiff, which actually handles a large fraction of the weird shit that's out there.

      And still, it breaks on about 40% of the tiff files on the file server at work (I work at a publishing house). I just wanted to research how any tiff files we had which weren't compressed, but I ended up just prosessing the biggest files, because I found no tool which could get me that information. Indesign can read all of them, though.

      --
      Are you a grammar Nazi? I'm trying to improve my English; please correct my errors! :)
    51. Re:NIH by DaVince21 · · Score: 1

      That, and consider all the profile pictures on Google accounts, YouTube thumbnails and preview pics for videos, etc.

      --
      I am not devoid of humor.
    52. Re:NIH by DaVince21 · · Score: 1

      You mean encoded data. PNG data is the encoded data, programs that can read or write them are the codecs.

      --
      I am not devoid of humor.
    53. Re:NIH by Guspaz · · Score: 1

      This is true of any format. "clean room" doesn't mean you need to reverse engineer the thing, just that you need to implement a new decoder based on the standards document. The same thing was done for MPEG-4 AAC, or AVC.

    54. Re:NIH by Guspaz · · Score: 1

      I already do not like the limitations of WebP, 16K side lenght? have these people never opened a RAW DSLR image?

      Working with a lot of 180 megapixel images, are you? DSLRs, for various reasons, will probably not require side lengths of 16k for several decades yet.

    55. Re:NIH by Anonymous Coward · · Score: 0

      Refer http://code.google.com/speed/webp/gallery2.html for some example PNG images encoded with 'WebP(lossy RGB) & lossless Alpha'

    56. Re:NIH by indymike · · Score: 1

      IE9 is not likely to drive any kinds of standards adoptions. Most developers would rather spend their days training fish to ride bicycles than support another MS only feature.

      --
      -- Mike
    57. Re:NIH by Guspaz · · Score: 1

      Web developers, sure. But if Chrome or Firefox also add support, that'd give it enough momentum that the smaller browsers would have to follow suit.

      It's also worth pointing out that Flash supports JPEG XR, so there is a potential Javascript fallback to decode the images for browsers that don't support it. Just because it was developed by Microsoft doesn't mean it's automatically bad. It's a nice improvement over JPEG, it already has pretty widespread support (mainly thanks to Microsoft), it has an opensource reference implementation, and it's royalty-free. What more could anyone want?

  2. Transparency yet? by Superken7 · · Score: 0

    Last time it was planned as an upgrade, has the alpha channel made it to the improvements? It's a bit sad to release an image file format for the future of the web that doesn't support transparency IMHO

    1. Re:Transparency yet? by The+MAZZTer · · Score: 4, Informative

      Yes, it's in TFA url and title. :)

    2. Re:Transparency yet? by BrandonJones · · Score: 2

      The article title is: "Lossless and transparency encoding in WebP" So I'd say that's a yes on transparancy

    3. Re:Transparency yet? by Superken7 · · Score: 1

      Whoops, I totally missed that ;) thanks

  3. Awesome by Anonymous Coward · · Score: 3, Insightful

    Another unsupported format from Google.

    It's interesting how successful they are at dominating/directing so many areas of the Internet, but they seem so ineffectual in other areas like this and the video format they are trying to get the world to switch to.

    1. Re:Awesome by Xanny · · Score: 4, Interesting

      They are converting all of youtube to WebM, and it is the only royalty free web video codec. I'm pretty sure they will beat h.264 in the long run because free wins in the end. The fact the encoding is behind the scenes doesn't matter. In a decade html5 video will be defined by webm because no one wants to license h.264 for encoding products.

    2. Re:Awesome by Anonymous Coward · · Score: 0

      What about dirac? Not a "web" codec?

    3. Re:Awesome by PwnzerDragoon · · Score: 4, Informative

      and it is the only royalty free web video codec.

      Except Theora. Though from what I've seen WebM has the edge in video quality.

    4. Re:Awesome by iluvcapra · · Score: 1

      I'm pretty sure they will beat h.264 in the long run because free wins in the end.

      Messiah complex.

      --
      Don't blame me, I voted for Baltar.
    5. Re:Awesome by Rational · · Score: 1

      I'm pretty sure they will beat h.264 in the long run because free wins in the end.

      Fuck me, I must have slept through the Year of Linux on the Desktop.

      --
      "Be nice, veer left, and never stop thinking" Iain Banks - Walking On Glass
  4. Is google's image format ICC capable? by Jackie_Chan_Fan · · Score: 4, Interesting

    ... because Chrome is STILL NOT color managed.

    1. Re:Is google's image format ICC capable? by SadButTrue · · Score: 1

      To lazy to look that up... What does that mean?

      --
      grape - the GNU free, open source rape
    2. Re:Is google's image format ICC capable? by Anonymous Coward · · Score: 2, Funny

      If you played WoW you would know. ICC is Ice Crown Citadel, home of the Lich King formerly known as Prince Arthas. What an outdated dungeon in an MMO has to do with Chrome displaying a new image format I'm unsure of.

    3. Re:Is google's image format ICC capable? by DarkXale · · Score: 4, Informative

      >"Last month we announced WebP support for animation, ICC profile, XMP metadata and tiling."
      I assume thats a 'yes'.

    4. Re:Is google's image format ICC capable? by Anonymous Coward · · Score: 0
    5. Re:Is google's image format ICC capable? by Guspaz · · Score: 1

      Colour profiles. Chrome ignores them. On my computers, every image I open up in Chrome is oversaturated compared to opening it in an image editor like Photoshop.

    6. Re:Is google's image format ICC capable? by MurukeshM · · Score: 0

      So Prince Arthas became the Lich King? Sad. I have this jinx when it comes to some games, never getting past a certain point. Not that I can't get through, but something happens to screw my system...

    7. Re:Is google's image format ICC capable? by SadButTrue · · Score: 1

      Sorry, I really had never heard of this.
      So this is an OS setting?
      I assume this would be useful for correcting for differences in displays? If so, how would it differ from the hardware adjustment on monitors?

      --
      grape - the GNU free, open source rape
    8. Re:Is google's image format ICC capable? by Anonymous Coward · · Score: 0

      A browser should NEVER color manage. Color management is the domain of the monitor, or the OS. An RGB triplet should look the same on EVERY app for a given system.

    9. Re:Is google's image format ICC capable? by Farmer+Tim · · Score: 4, Informative

      I assume this would be useful for correcting for differences in displays?

      Not just displays, cameras, scanners and printers also use ICC profiles to compensate for the fact that they all capture and reproduce colours slightly differently. This is a good place to read some basics.

      --
      Blank until /. makes another boneheaded UI decision.
    10. Re:Is google's image format ICC capable? by Anonymous Coward · · Score: 0

      Images have colour profiles too. An RGB triplet in two different images is not necessarily meant to look the same. A browser cannot show images correctly if it does not handle these.

    11. Re:Is google's image format ICC capable? by terrox · · Score: 1

      It means extra features that are useless to everyone, including the print design which it is designed for. Color management is a huge waste of time and yes I do use it a lot because people (lazily) ask me to use it.

    12. Re:Is google's image format ICC capable? by terrox · · Score: 2

      Just because you've applied a 500kb colour profile to your image and your image program can understand it, does not mean a web browser needs to support such pointless user desires. The internet does not want to waste 50-500kb per image on colour profiles just so the image can print out a tiny bit more evenly on expensive high end printers. If it ever happens you can be happy living in a world where agenda driven lobby groups can make life more annoying for everyone just to make a few bucks. Should Chrome support 48bit, masked, live effects layered PSD too? but they look better on my computer...

    13. Re:Is google's image format ICC capable? by sexconker · · Score: 0

      Images have colour profiles too. An RGB triplet in two different images is not necessarily meant to look the same. A browser cannot show images correctly if it does not handle these.

      Absurd.
      Color profiles are for input and output devices - monitors, printers, and scanners.
      If you're creating assets with a color profile, that's great, but when you send them to others for viewing you absolutely need to convert to plain ol' RGB.
      If you're sending it to a printer, then yes, ship the color profile with it.

    14. Re:Is google's image format ICC capable? by stephanruby · · Score: 1

      What is color management?

    15. Re:Is google's image format ICC capable? by SuricouRaven · · Score: 1

      Extra information that allows for very precise compensation for slight differences in how different devices display colors. For most applications it isn't needed - people won't notice if a color is just very slightly the wrong shade. It's important for things like professional print work and advertising.

    16. Re:Is google's image format ICC capable? by imthesponge · · Score: 2

      "when you send them to others for viewing you absolutely need to convert to plain ol' RGB."

      Because you don't know if the person you're sending it to has software that supports color managment. It's the chicken and the egg. And by "plain ol' RGB" I assume you mean sRGB.

    17. Re:Is google's image format ICC capable? by Daniel+Klugh · · Score: 1

      That Lich King ain't so tough anyway. A 13 year-old boy killed him with a sweater!

      --
      Daniel Klugh
    18. Re:Is google's image format ICC capable? by Guspaz · · Score: 1

      500 KB colour profile? You're talking about a few bytes in the metadata to say "Use sRGB". As it stands, Chrome horrendously oversaturates many images, and Firefox doesn't. As a Chrome user, this is annoying.

    19. Re:Is google's image format ICC capable? by sexconker · · Score: 1

      By "plain ol' RGB" I mean "plain ol' RGB".
      3 octets per pixel. That's it. Let it be mapped fully to the native space of the output device.

      If the user is on Adobe RGB or sRGB or whateverthefuckelse, and you were on something different when you made it that's their issue.
      It's also their choice. Unless you're in industry, you don't tell users how to view shit. Two pixels of the same value should always display exactly the same on the same output device.
      If you are in industry, then obviously you need shit to be output on their end as it was on yours. But for 99.999% of users, differences will be inconsequential, and for 99.999999% of users, the difference will never be noticed.

  5. This is a big deal! by Dr.+Spork · · Score: 0

    I didn't realize it was even possible to make such a big improvement in lossless image compression. The web definitely needs it - any smartphone user that pays by data volume can confirm this.

    1. Re:This is a big deal! by Trixter · · Score: 5, Informative

      I didn't realize it was even possible to make such a big improvement in lossless image compression.

      You falsely assume that PNG was state-of-the-art in lossless compression. PNG took a great idea (filter the image and take advantage of the 2-D correlation present in most real-world images) and coupled with it a terrible idea (zlib for the back-end compression of the filter output). You're supposed to do order-0 compression (ie. statistical, like Huffman coding) on the filter residuals, not pattern-match searching (zlib). zlib is a great piece of software, but like all tools, there are things it is very well-suited for and others it is not well-suited for. This was a misstep by the PNG team.

      The choice the PNG people made was fueled by the Unisys GIF/LZW patent of the time, and at that time IBM also had a patent on range coders. So I guess it's understandable why they didn't use those order-0 methods on the filter residuals. But it was a huge mistake to knee-jerk away from ALL statistical methods and choose zlib as the back-end. They could have used basic Huffman; not sure why they didn't.

    2. Re:This is a big deal! by Megane · · Score: 2

      Any smartphone user that pays by data volume would probably be better off with lossy image compression.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    3. Re:This is a big deal! by Anonymous Coward · · Score: 0

      Again, depends on the image in question. There are some images where PNGs will be (significantly) smaller than even compression heavy JPG, while remaining completely non-lossy along with Alpha support. Websites are not exactly unlikely to run into such images.

    4. Re:This is a big deal! by Edgewize · · Score: 4, Informative

      That seems like an oversimplification since the DEFLATE algorithm includes a huffman encoding step, and it is within the specs for the compressor to simply never emit back-references. It would be a horrible bug in the implementation of zlib to have worse compression performance than a basic huffman encoding.

    5. Re:This is a big deal! by Anonymous Coward · · Score: 0

      PNG was designed from day one to be a image for the internet, and the HTTP standard already requires zlib decoding capability, which, I might add, was already superior to most other common-use algorithms like LZW.

      They were not trying to create the perfect image format; they were trying to replace GIF, by doing everything that GIF did but better. And they succeeded; they were let down by bad software support for a decade, and by some bizarre attachment people had to creating multi-megabyte postage-stamp-sized 256-color videos with no sound using an image file format.

    6. Re:This is a big deal! by Trixter · · Score: 4, Informative

      That seems like an oversimplification since the DEFLATE algorithm includes a huffman encoding step, and it is within the specs for the compressor to simply never emit back-references. It would be a horrible bug in the implementation of zlib to have worse compression performance than a basic huffman encoding.

      (DEFLATE doesn't use Huffman, it uses Shannon-Fano as it's entropy encoding step.) While zlib can be configured to not emit back-references and just entropy-encode the input, PNG does not use this mode. I suspect it was because they were trying to stay as far away from the Unisys patent as possible (meaning, "image -> entropy" (GIF) and "image -> filter -> entropy" (PNG) might have seemed too similar/infringing).

      zlib can not only compress worse than just entropy; if unchecked, it could actually output "compressed" data that is larger than the original. This happens when you give it uncompressable data and it tries to match patterns anyway. Of course it has a check for this; if the output is larger than the input, it just stores the input uncompressed. 7-ZIP LZMA doesn't have this, so that's why 7-ZIP's output can sometimes be larger than the input. (They fixed that in LZMA2.)

    7. Re:This is a big deal! by Anonymous Coward · · Score: 1

      As I commented above, Googles engineers are either stupid or attempting to mislead people. WebP 'lossless' is not truely lossless as the charts on Googles page attest. For their comparison they take the raw PNG, resize using "convert infile.png -resize 240x outfile.png" then they convert to WebP 'lossless' then from WebP 'lossless' back to PNG.

      The output of imagemagik convert already produces PNGs smaller than Google display in their comparisons. The discrepancy must be due to PNG struggling with the artifacts from WebP 'lossless' (ie: lossy) compression.

      Here's the sizes from the resized tux image (sans transcode to WebP and back) and optimized with pngcrush, optipng and 7z deflate.

      27451 FizyplanktonOpt.png
      33073 FizyplanktonOrig.png

      Googles examples show PNG at 40k and the WebP 'lossless' at 27.5k. There's no improvement from WebP, in fact it's worse because it's not truely lossless.

    8. Re:This is a big deal! by snowgirl · · Score: 1

      ... by some bizarre attachment people had to creating multi-megabyte postage-stamp-sized 256-color videos with no sound using an image file format.

      but zOMG kittehs!

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    9. Re:This is a big deal! by Anonymous Coward · · Score: 0

      Huffman-only is one of the strategies that libpng can use.
      People may rarely use it but it's available. It's one of the
      things that pngcrush (which is libpng-based) does.

    10. Re:This is a big deal! by SuricouRaven · · Score: 2

      I think there may be some confusion over mathematically lossless verses practically lossless, as there is a DCT involved here. If you do the math, then you can prove that it is lossless. But computers don't do the math that well - they introduce rounding errors in intermediate steps. This loss of information is often overlooked, as it isn't readily apparent in a purely mathematical analysis.

      To a mathematician, pi goes on forever.

  6. Lossless image compression is a big deal by Anonymous Coward · · Score: 0

    Very important for certain classes of photos, medical images for example. Doctors cannot allow any loss to the image due to liability and the chance of the "lost" resolution of the image leading to a missed or incorrect diagnosis. Another is pictures of the Golden Girls. No way I want any loss of quality there.

    Which Golden Girl would you plow first? last?

    TIA

    1. Re:Lossless image compression is a big deal by Jeng · · Score: 2

      Which Golden Girl would you plow first?

      The cosmonaut of course.

      --
      Don't know something? Look it up. Still don't know? Then ask.
    2. Re:Lossless image compression is a big deal by mister_playboy · · Score: 1

      Which Golden Girl would you plow first?

      The cosmonaut of course.

      Heh... this could be the secret question/response to get into the "I browse at -1" treehouse. :3

      --
      Do what thou wilt shall be the whole of the Law ::: Love is the law, love under will
    3. Re:Lossless image compression is a big deal by Hognoxious · · Score: 2

      Which Golden Girl would you plow first?

      The one that still has a pulse.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    4. Re:Lossless image compression is a big deal by DaVince21 · · Score: 1

      But would you use an image format that's obviously meant to be used on the web there?

      --
      I am not devoid of humor.
  7. If the emphasis is on compression... by Tastecicles · · Score: 3, Interesting

    ...doesn't anyone think it might be time to revisit fractal image compression and maybe look at ways of improving iterated function systems and their associated algorithms (I might give Mike Barnsley a call and ask him how his IFS patents are developing if you're nice and mod me up)?

    --
    Operation Guillotine is in effect.
    1. Re:If the emphasis is on compression... by Anonymous Coward · · Score: 0

      Whatever happened to FIF format? I remember a cover (floppy) disk with some images compressed this way and was pretty impressed for the time; then something about it being used in microsoft encarter (or the dark dark ages), then nothing.

    2. Re:If the emphasis is on compression... by Trixter · · Score: 2

      ...doesn't anyone think it might be time to revisit fractal image compression and maybe look at ways of improving iterated function systems and their associated algorithms?

      Considering that the best results were obtained using college grads as the compression engine, probably not.

    3. Re:If the emphasis is on compression... by Anonymous Coward · · Score: 1

      Fractal compression is a lossy compression method. This is lossless.

    4. Re:If the emphasis is on compression... by Tastecicles · · Score: 1

      I remember that. I was not at all surprised that Microsoft, in the hunt for a compression format they didn't have to pay royalties on (ISI was a community project back then), literally stole the idea of using lossy compression, texturing and wavelets to cram as much image information as they possibly could onto one CD. They took IFS young, as I remember, because the resultant images were unusable anywhere but a 14" CRT. If they'd waited a year they'd've had to have paid royalties to Mike but at least they would have had a workable algorithm (not to mention better quality images in their product) rather than what they ended up with, which was almost purely the result of many thousands of man-hours of bulletin board conversations and napkin chickenscratch.

      --
      Operation Guillotine is in effect.
    5. Re:If the emphasis is on compression... by Guspaz · · Score: 1

      It could be the first image compression that uses Mechanical Turk as a core component ;)

    6. Re:If the emphasis is on compression... by tepples · · Score: 1

      Barnsley style IFS compression is just vector quantization using a smaller version of the image itself as the codebook. I don't see what advantage it has over the more common DCT based methods.

    7. Re:If the emphasis is on compression... by RocketRabbit · · Score: 1

      That's not really what your link actually says.

    8. Re:If the emphasis is on compression... by Hentes · · Score: 2

      There are lossless fractal image encodings, the trick is that you have to find a fractal wich matches the image up to its resolution which is possible.

    9. Re:If the emphasis is on compression... by Tastecicles · · Score: 1

      30-40KB seed information for a multi-Megabyte bitmap?

      The limiting factor in how good the uncompressed image is or how close it is to the original is how good the codec is.

      The abovegiven link is the first such I ever heard of and the first I actually used. It depends almost entirely on the float precision you use. I always maxed it - OK this meant several hours to several days to encode a 4GP multi-element bitmap on a DX4, and seveal minutes to a couple hours to decompress it on the same hardware, but you know what? I had fun with it.

      --
      Operation Guillotine is in effect.
    10. Re:If the emphasis is on compression... by SuricouRaven · · Score: 1

      I could encode a multi-gigabyte bitmap in under a kilobyte. The trick is that every pixel is the same color.

    11. Re:If the emphasis is on compression... by Tastecicles · · Score: 1

      Now do the same thing with a panoramic shot of the Rockies and come back when you're done.

      --
      Operation Guillotine is in effect.
    12. Re:If the emphasis is on compression... by SuricouRaven · · Score: 1

      I was just pointing out that it's silly to say '30-40KB seed information for a multi-Megabyte bitmap?' without specifying what the image is.

  8. Any guesses on when IE will natively support WebP by Anonymous Coward · · Score: 0

    I'm thinking...maybe 2025. Yeah, that sounds about right.

  9. Smaller images on the page mean faster page loads? by knifeyspooney · · Score: 1

    Gol-ly! Is there anything those Google engineers don't know?

  10. Re:Really?? by Anonymous Coward · · Score: 0

    Yes, really.

  11. An even better way to decrease page load time: by larry+bagina · · Score: 5, Interesting

    block google analytics.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

    1. Re:An even better way to decrease page load time: by webheaded · · Score: 1

      No kidding. I started putting those at the very bottom of the pages and that seemed to help somewhat. I'll take improvements where I can get them. :p

      --
      "Those who would sacrifice essential liberties for a little temporary safety deserve neither liberty nor safety." - BenF
    2. Re:An even better way to decrease page load time: by Frosty+Piss · · Score: 1

      I started putting those at the very bottom of the pages...

      That's where everyone else was already putting the Google Anylitcs code. That's where Google suggests you put it...

      It's a service like any other that Google offers: If it's not useful to *YOU*, don't use it on your site.

      There are alternatives, but they too effect load time.

      If you make a significant $$ off of AdSense, Google Analytics can be very useful.

      Just like no one is forcing anyone to post gobs of personal stuff on Facebook, no one is forcing Webmasters to use Google Anything

      --
      If you want news from today, you have to come back tomorrow.
    3. Re:An even better way to decrease page load time: by Anonymous Coward · · Score: 0

      Analytics? Have you guys never heard of AdBlock plus, Ghostery and, you know, just compressing the entire HTTP connection transparently? (Yes, this can still allow different compression algorithms for different mime types.)

    4. Re:An even better way to decrease page load time: by webheaded · · Score: 1

      How about you calm down there, buddy? I was commenting most on the fact that Analytics is a little slow. Also for your information on where it goes, I can say with certainty that when I did it, all the help files said to put it at top. They've since changed it (probably because they too realize it holds up page loading). I'm not claiming I've invented some genius process...most people that know anything about web pages would have figured out that trick in the 3 seconds it took me. You're a bit combative over nothing. o_O

      --
      "Those who would sacrifice essential liberties for a little temporary safety deserve neither liberty nor safety." - BenF
    5. Re:An even better way to decrease page load time: by PerfectionLost · · Score: 1

      Alternately, you can cache the ga file on your server, which works even better then putting it at the bottom of the page.

    6. Re:An even better way to decrease page load time: by Anonymous Coward · · Score: 1

      This is why page developers should load analytics asynchronously. (Or Google should make their bootstrapper asynchronous)

    7. Re:An even better way to decrease page load time: by Anonymous Coward · · Score: 0

      o_O

      What's wrong with your eye?

    8. Re:An even better way to decrease page load time: by Anonymous Coward · · Score: 0

      nothing, it's just that 2D ASCII art does not present perspective very well. You're looking at his left cheek from a close distance.

    9. Re:An even better way to decrease page load time: by Anonymous Coward · · Score: 0

      The newer versions of the Google Analytics tracking script load asynchronously and so do not perceptably impact page load times. You can put those in your fine (they catch a bit more traffic there).

  12. What about HDRI? by art6217 · · Score: 2

    Why, with today's bright screens, no one implements high dynamic range imaging in both GUI environments and common image formats?

    "Paper white" is still "all bits on"...

    1. Re:What about HDRI? by Guspaz · · Score: 1

      Most modern screens can't display deep colour. My Dell U2711 can do it, but you really have to buy a high-end or professional display like it to get 10-bit colour support. Since most displays can't show it, there's not all that much demand to support it.

    2. Re:What about HDRI? by Anonymous Coward · · Score: 1

      What you describe as HDRI is not so much "something to be implemented". Any image format with sufficient bit-depth can be tone-mapped, or have it's contrast curves adjusted to display "HDRI".

      The "cool looking photos" in those articles are simple a result of a tone compression.

      Your eyes can only do this in a real environment by taking some guesses and actually adjusting to the ambient light. when you look at a dark part of the scene, you take in more light, when you look at a light part, you take in less light and your brain converges the two into a single mental image. Photographers do this and then instead of sending it to you as a mental image, they use a tone mapping curve (tone compression) to make it look alright on a static display.

      I'm curious what you mean by "implements high dynamic range imaging" in image formats? I'm not sure that it even makes sense, what you're saying, but I wanted to let you clarify before I dismissed it.

    3. Re:What about HDRI? by gl4ss · · Score: 1

      ..why wouldn't it be? that's the info that goes to the monitor.

      you want hdr on your desktop, use a hdr-composited image as a background.

      --
      world was created 5 seconds before this post as it is.
    4. Re:What about HDRI? by nomel · · Score: 1

      I think you're confused about hdr. Max brightness will always be "all bits on". It's only paper white because that's the absolute max brightness your display can show!

      You need an HDR display to view HDR images, otherwise you're just doing tonal mapping. The examples show in that wiki are not HDR images, they're tonal mapped images. Their dynamic range is exactly the dynamic range of all the other pictures you've seen today, 3 color channels, 256 bits per color channel. High dynamic range displays require brighter backlights to make the higher *dynamic range* possible, otherwise you're just increasing bits-per-pixel and reducing color banding. You'll never find an HDR display in anything powered with our current battery tech because of this.

      For a realistic idea of an HDR display, here's an interesting review: http://www.bit-tech.net/hardware/2005/10/04/brightside_hdr_edr/5

    5. Re:What about HDRI? by nomel · · Score: 1

      Using a tonal mapped image is not the same as an HDR image or display.

    6. Re:What about HDRI? by Anonymous Coward · · Score: 0

      I imagine you could use 16-bit PNG with the gamma adjusted to almost give it a somewhat logarithmic scale - a cheap simulation of floating point, if you will.

    7. Re:What about HDRI? by Zeroko · · Score: 1

      Most modern displays also tend not to be able to show anything over 1920x1080 (or thereabouts, often much smaller), & yet we still use formats that support much larger images. Just as you can zoom, you can change the display exposure with an HDR image. I suspect the lack of support is more related to most cameras not producing HDR, while they do have resolutions higher than monitors.

    8. Re:What about HDRI? by Ichijo · · Score: 1

      Since most displays can't show it, there's not all that much demand to support it.

      It's a chicken-and-egg problem. What's the cheapest way to break out of the loop: make HDR displays, or give WebP support for HDR?

      --
      Any sufficiently unpopular but cohesive argument is indistinguishable from trolling.
    9. Re:What about HDRI? by Anonymous Coward · · Score: 0

      you mean 8 bits per color...

    10. Re:What about HDRI? by Guspaz · · Score: 1

      Most cameras from high end point & shoot on up (basically, anything that takes RAW) is already recording 10+ bpp.

    11. Re:What about HDRI? by Guspaz · · Score: 1

      Giving WebP support for HDR won't break out of the loop, so the answer is "make HDR displays".

      There are existing formats that support deep colour, and there are existing applications (like Photoshop) that can take advantage of it, but HDR displays are still rare. Adding support for HDR to WebP, a format that nobody uses, won't change anything.

    12. Re:What about HDRI? by Anonymous Coward · · Score: 0

      I'm not sure how HDR applies to image formats when any image format with sufficient color depth can contain an HDR image, but since you've brought it up...

      Why is High Dynamic Range called High Dynamic Range when HDR actually reduces the dynamic range of an image. I think it would be more accurate to call it Compressed Dynamic Range. It is effectively the same thing as the audio compression responsible for the loudness wars. And like audio compression I find it is often overused to create something that loses a lot of the flavor that the original had. I do find more compressed dynamic range images that I like than compressed audio that I like, because it can bring out details that the technical limitations of both cameras and our eyes otherwise hide.

      But, it is overused, I think because people don't fully understand what it is doing. They think it is making the image brighter, but really it is destroying contrast. Again, like audio, contrast in levels is a good thing. Contrast is the easiest and strongest way to make anything interesting. Shadows are a wonderful tool for composition and texture. Remove them and you can easily be left with an image that is too flat and busy.

      /off-topic rant

    13. Re:What about HDRI? by Anonymous Coward · · Score: 0

      He is not talking about tone mapping. What is talking about is making WebP be an "image format with sufficient bit-depth".

    14. Re:What about HDRI? by nomel · · Score: 1

      Oops, 8 bits per color, 256 values per color...

      I'd correct it if I could. Thanks. :)

    15. Re:What about HDRI? by QuasiSteve · · Score: 1

      Giving WebP support for HDR won't break out of the loop, so the answer is "make HDR displays".

      Well the chicken&egg loop may not be broken, but...

      Why make HDR displays (proper ones, not just "my monitor can do 10bits per channel - woo!") if there's little to make use of it? The hardware involved is fairly complex.

      While on the other hand you have a bitmap format that could easily store, say, 32bit values which even when treated linearly gives plenty of range to work with, as well as metadata as to what the range actually represents.

      Even though you might not have a display that could display it yet, you could at least feed the images through a tone mapping algorithm, or an interactive auto-exposure effect.

      By making WebP at least support it, you at least present some methods of exiting HDR format vs HDR display loop and going down different paths.

    16. Re:What about HDRI? by SuricouRaven · · Score: 1

      HDR isn't usually used for viewing. It's used as an intermediate step in the production of other images. They get used a lot in 3d work for skymaps, so you can express the sun as super-super-super-bright and have realistic shadows.

    17. Re:What about HDRI? by Anonymous Coward · · Score: 0

      High dynamic range displays require brighter backlights to make the higher *dynamic range* possible, otherwise you're just increasing bits-per-pixel and reducing color banding.

      Don't be a moron. Think about what dynamic range is, and what units it's specified in. If you still don't see that dynamic range can be increased from either end, just off yourself quietly and improve the world

    18. Re:What about HDRI? by nomel · · Score: 1

      Yes, that would be tonal mapping into a SDR space.

  13. It's been a long time coming by Twinbee · · Score: 4, Interesting

    As someone who would love to use variable transparency (translucency) pictures on my own website, this story is very cool news. For one thing, it allows pictures to have drop shadows on varied backgrounds, without having to be forced to save as full 32bit PNG.

    I'm now somewhat disappointed PNG didn't get this far sooner. It's served its purpose well over time, but I didn't realize there was still so much room for compression.

    Congrats to Google, and I hope the other browser quickly adopt this apparently great picture format. I wonder how its animation side compares to APNG or MNG. The PC has always been gasping for decent lossless animation support, even though the Amiga 20 years ago had seemingly a dozen animation formats to choose from. Also, web browsers have (or at least had) great difficulty in playing animations at higher than around 16-25fps (apart from flash). It's a pretty sad state of affairs all round really.

    --
    Why OpalCalc is the best Windows calc
    1. Re:It's been a long time coming by porneL · · Score: 4, Interesting

      You don't have to save full 32-bit PNG. 8-bit PNG supports full alpha as well -- in all applications except Photoshop.

      See http://pngmini.com/ or https://github.com/pornel/improved-pngquant

    2. Re:It's been a long time coming by Twinbee · · Score: 1

      I've looked at pngquant before, but it didn't seem to handle the alpha channel. Maybe "improved=pngquant" is better though.

      --
      Why OpalCalc is the best Windows calc
    3. Re:It's been a long time coming by porneL · · Score: 3, Informative

      The original pngquant was quite bad indeed (it did support alpha, but poorly). It had lots quality trade-offs for MS-DOS era machines.

      The modern rewrite is much better in terms of quality and it's especially tuned for good alpha channel support.

    4. Re:It's been a long time coming by Twinbee · · Score: 1

      Interesting thanks - I'll try it out.

      --
      Why OpalCalc is the best Windows calc
    5. Re:It's been a long time coming by edxwelch · · Score: 1

      It's not the same thing at all. With PNG8 you are limited to 256 colurs any you will noticable artifacts if you try to convert photos (for example). What webP is like jpeg with alpha transpanrancy

  14. Logical fallacy by Anonymous Coward · · Score: 0

    "Smaller images on the page mean faster page loads."

    Not if decoding them deadlocks the CPU.

    "Simplicity in decoding" does not entail any information about the cycles it would eat.

    1. Re:Logical fallacy by Anonymous Coward · · Score: 0

      Decoding a couple images is not going to deadlock a modern CPU.

    2. Re:Logical fallacy by SuricouRaven · · Score: 1

      Might be an issue on mobile devices, but then given the cost of mobile data, I think I'd rather take the CPU wait.

  15. Internet Explorer by Anonymous Coward · · Score: 0

    (Posting AC because I'm at work)

    That's what web designers need - another image formate that Internet Explorer won't support for years, then will support but support poorly, forcing designers to use annoying hacks to get around the inadequacies of MS's support for the format. Yeah. We really need this.

  16. Naming Issue by Zamphatta · · Score: 1

    I just wish they'd change the name of the format. It feels awkward (in English) to pronounce WebP 'cause the "b" & "p" next to each other. I'm not exactly sure how that works smoothly, and I've noticed other people shy away from talkin' about it 'cause of it. That's a problem for any hopeful tech.

    1. Re:Naming Issue by psmears · · Score: 1

      I know what you mean, but it hasn't stopped them talking about "web pages" :-)

    2. Re:Naming Issue by Zamphatta · · Score: 1

      Hey cool thought bro. It's easier to say "web pages" than "webp" though, 'cause of the vowels in "pages", make it clear between the "b" & "p".

    3. Re:Naming Issue by Anonymous Coward · · Score: 0

      Why not just call it Web P and stop whining about something so retarded?

  17. is his really necessary for tomorrows internet? by Cyko_01 · · Score: 1

    CSS3 will soon eliminate the need for rounded corner images and gradient backgrounds, and even smartphone bandwidth is increasing to reasonable speeds. Most ads these days are displayed with flash, and the quality of thumbnail images really isn't that important either

    1. Re:is his really necessary for tomorrows internet? by nitio · · Score: 1

      and the quality of thumbnail images really isn't that important either

      (Emphasis mine). Obviously you don't know what the Internet is for...

      --
      http://stoploudness.org/
    2. Re:is his really necessary for tomorrows internet? by QuasiSteve · · Score: 1

      CSS3 will soon eliminate the need for rounded corner images

      If all you want is single-radius rounded corners on rectangles, yes. While this fits most design processes, it falls well short of the flexibility offered by an alpha channel. On the up side, it's independent of image resolution (in the case of bitmaps) so the rounded corners are nice and smooth no matter the zoom level.

      and gradient backgrounds

      Again, only for simple gradients - yes, you can stack multiple divs together to get something more complex - but at some point the code you generate, even if sent gzipped, is actually going to take more bandwidth than a 1-pixel wide/high gradient bitmap.

      and even smartphone bandwidth is increasing to reasonable speeds

      While on the flip side, providers are dropping FUP-style contracts and going with hard limits. Savings do matter.

      Most ads these days are displayed with flash

      But are likely to be increasingly exchanged for HTML - if only to target iDevices currently but certainly going forward for other devices as well.

      and the quality of thumbnail images really isn't that important either

      Perhaps not, but I'm sure Google wouldn't mind serving, say, 15% less bandwidth in google image results without appreciable loss in quality (or perhaps even an increase in quality) by simply serving WebP instead of JPG.

      Personally I'm all for a format that performs better for a given task. Currently I'm archiving 2nd tier images as JPGs at 100% quality without chroma subsampling, etc. (primaries get the PNG treatment) because I'm confident that, should I care to see them again in say 20 years, JPG will still be well-supported. I could use JPEG2000 but support for that is currently low and I have seen no reason to think that will improve substantially in time.

      If Google can actually market WebP to, say, camera makers, (their own) smartphone developers and major platforms like flickr, facebook, imgur, etc. so that it will actually get picked up.. it just might make me start saving new images in WebP instead.
      Given how slow its acceptance currently is, however.. as well as support for Adobe's DNG, I'm not getting my hopes up.

    3. Re:is his really necessary for tomorrows internet? by Merk42 · · Score: 1

      PNGS are used for more than just rounded corners and gradient backgrounds.

      Bandwidth may be increasing, but not caps

      I also doubt “Tomorrow‘s Internet” will use Flash

    4. Re:is his really necessary for tomorrows internet? by Hatta · · Score: 3, Insightful

      CSS3 will soon eliminate the need for rounded corner images and gradient backgrounds

      There never was any need for rounded corners and gradient backgrounds.

      --
      Give me Classic Slashdot or give me death!
    5. Re:is his really necessary for tomorrows internet? by Sloppy · · Score: 1

      What is the world coming to, when the only use for image files that people can think of, is "be displayed on a web page?"

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    6. Re:is his really necessary for tomorrows internet? by Spad · · Score: 1

      That's the kind of attitude that got us lumbered with IE6 for years. There's nothing wrong with progress for the sake of progress; it might end up being more useful than you expected.

  18. Some irony in this? by N+Monkey · · Score: 1

    From the article thet seem to be targeting both lossy and lossless:

    WebP was proposed as an alternative to JPEG, with 25–34% better compression compared to JPEG images at equivalent SSIM index.

    and

    Our main focus for lossless mode has been in compression density and simplicity in decoding. On average, we get a 45% reduction in size when starting with PNGs found on the web, and a 28% reduction in size compared to PNGs that are re-compressed with pngcrush and pngout. Smaller images on the page mean faster page loads

    So their aim is to reduce bandwidth, which is admirable, yet the video side of Google is choosing to avoid H.264 which, AFAIU, has been shown to be better "bang for the bit" than VP8, and surely video is a far bigger consumer of bandwidth these days. (I'm not sure the unencumbered argument would stand up to close scrutiny).

    1. Re:Some irony in this? by Anonymous Coward · · Score: 0

      H.264 is not free. Given that they own youtube, they probably don't want to pay a licensing fee. I don't know why you have a problem with them developing an image compression format(that will likely be free), and not wanting to use a particular commercial video format.

    2. Re:Some irony in this? by Threni · · Score: 1

      "video is a far bigger consumer of bandwidth these days."

      Not on my phone it isn't.

    3. Re:Some irony in this? by GuB-42 · · Score: 1
      They probably don't want h.264 because it isn't free. This is why they develop WebM, which is a competing format which is slightly lower in quality but hopefully patent free.

      WebP is basically WebM applied to still images. Note that the same approach can be used with h.264, with even better results.

    4. Re:Some irony in this? by SuricouRaven · · Score: 1

      WebM could probably equal h264 given time - but it's taken years of work to perfect h264 encoding. A significant head start. The biggest problem WebM has right now is just displacing an entrenched, widely-supported standard that most people are entirely happy with.

    5. Re:Some irony in this? by GuB-42 · · Score: 1

      I suppose it can become very close with a good encoder but according to http://x264dev.multimedia.cx/archives/377, h264 has the advantage.
      Being written by a x264 developer, this article is probably biased but his arguments look valid.

  19. are image standards too established? by rlwhite · · Score: 4, Interesting

    As someone who rooted for the adoption of JPEG2000, I wonder, have we reached the point where the existing major image formats are 'good enough' and so established that new standards are unlikely to unseat them?

    1. Re:are image standards too established? by Anonymous Coward · · Score: 0

      nope. j2k rocks. decode is slow though.

    2. Re:are image standards too established? by Anonymous Coward · · Score: 1

      Google controls both Chrome and Android well enough to ensure the next updates to both of these include the appropriate decoders.

      Once that's done, they can serve the WebP version of their images (Search, Picasa, G+, etc) to any device with the right user agent or supports header. That translates into not insignificant bandwidth savings for them, plus improved load times, making people think Chrome/Android are fast.

      Microsoft doesn't have a patent on Embrace-extend, you know?

    3. Re:are image standards too established? by j-turkey · · Score: 1

      As someone who rooted for the adoption of JPEG2000, I wonder, have we reached the point where the existing major image formats are 'good enough' and so established that new standards are unlikely to unseat them?

      If I remember correctly, JPEG2000 is patent encumbered.

      --

      -Turkey

    4. Re:are image standards too established? by Sloppy · · Score: 5, Insightful

      It doesn't have to unseat anything. Google is in the interesting position of having some websites with a significant amount of traffic and a web browser with a significant number of users. All they have to do is have Chrome send it in the Accept header and have their sites pay attention to that header. Instant n% reduction of bandwidth used by images.

      Right there, technological progress can stop and Google still comes out ahead. (Ignoring what they've paid to people to come up with WebP.) No rival has to be unseated.

      OTOH, once your site starts receiving a significant number of image/webp (or whatever they're using) in the Accept headers from Chrome (and Opera!) users, you have incentive to reconsider taking advantage, and the network effect has started, bouncing back'n'forth between site developers and browser developers.

      JPEG2000 didn't go this way because of the patent issue; from the very get-go, everyone knew they weren't allowed to use it. With WebP, it's either a mystery (if you're cautious) or allowed (because you trust that Google did a good patent search). Unlike JPEG2000, nobody has stepped forth and shown for sure that the tech needs to be sequestered for a couple decades. The default assumption about its legality is different.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    5. Re:are image standards too established? by Anonymous Coward · · Score: 0

      +5000 insightful to the 5-digits ID.

      This is *exactly* what I was going to post. Google does not care a yota what you think of this: everytime they squeeze one bit somewhere, they're saving money.

      Most people here cannot understand that but the very bright minds at Google do.

    6. Re:are image standards too established? by SuricouRaven · · Score: 1

      You are correct. But, even if it were not, jpeg is just too established. It works. It works fairly well. It's supported by just about every image viewer and editor in current use.

    7. Re:are image standards too established? by evilviper · · Score: 1

      You do reealize JPEG was basically the very first multimedia standard, don't you? It preedates MPEG-1. We didn't "reach" this point... we STARTED at this point. GIF is similarly old, and PNG has made only very limited inroads towards displacing it... It's a real shame they didn't include animation features from day one, or it might have done better.

      The second part, ESTABLISHED, is the big one. It's hard to get everyone to upgrade every piece of software, everywhere, and it's hard to cut off even a small segment of your customer base. PNG did amazingly well, it's a shame it didn't include a decent lossy format as well.

      Personally, I'm rooting for WebP now... One standard, that can obsolete both lossy and lossless image formats... Of course WebM has video covered, but I wonder if an
      animated image format might still be desirable.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  20. oblig xkcd by Anonymous Coward · · Score: 1

    http://xkcd.com/927/

    1. Re:oblig xkcd by Algae_94 · · Score: 2

      come on dude. the oblig xkcd should at least have the oblig "a" tag around it.

    2. Re:oblig xkcd by benthurston27 · · Score: 1

      I just noticed in Chrome when I right click on his link without the "a" tag it has an option to open the site in a new tab.

  21. Flawed, Misleading or Fraudulent? by Anonymous Coward · · Score: 0

    Google are converting to Webp 'lossless', which their own page shows is not truely lossless and then back to PNG . If I try and further compress googles PNG samples I cannot, however, if I grab the originals and resize using "convert orig.png -resize out.png" then I can equal WebP file sizes in (true lossless) PNG by using 7z deflate...

    27451 FizyplanktonOpt.png
    33073 FizyplanktonOrig.png

    Sterling work as ever guys...

    "Yesterday I cudn't spell gogal enginear and now I are one"!

  22. PNG was designed with room to grow. by Anonymous Coward · · Score: 1

    Let's be honest, vanilla PNG right now is only about as complex as running the deltas between neighboring pixels through deflate. PNG was clearly designed to do a reasonable job while not to taxing CPU or RAM.

    That's a good thing. PNG is 15 years old now, from a time where a brand new computer had a 166 MHz CPU and 16 MB of RAM.

    With how far computers have come since then, there is plenty of reason to want smarter compression methods and data filters in PNG, and the image format actually left a lot of room for adding new things.

    Granted, any images that use these new compression or filtering methods won't be viewable with todays software, but if they end up in libpng, they'll end up being available to every program that uses libpng with absolutely no effort on the part of the developers of said programs, making it a way faster way to gain adoption than trying to get people to add support for an entirely new image format.

  23. thanks google by Anonymous Coward · · Score: 0

    We need you to copy yet another thing that has been done before, clearly there aren't enough image formats to deal with already.

  24. IE and Photoshop by Anonymous Coward · · Score: 0

    As a creator of images for the web, I don't see this being implemented into my workflow anytime soon because:

    1. It will not be backwards compatible. Will google's format work in IE 6, 7 or other older browsers? Some web developers still have to consider the lowest common denominator. I still don't use png for this reason.

    2. How long will it be for Photoshop to build this into the "save for web" options. Until then, I doubt you will find many designers opening up a different program just to save a few K on their graphics.

    I am all for the supposed savings with this format, but I guess we will have to wait 5 years to use it... Maybe we'll all have fiber by then and the savings will be irrelevant.

    1. Re:IE and Photoshop by spacepimp · · Score: 1

      Around 7.5 percent of browser activity is IE6, and that is most likely weighted by windows updates etc. About half of those users are in China, using pirated versions of Windows. You want to help hold back the web for the lowest common denominator? The implications are significant: 1) a worsened non standardized web experience for everyone. 2) perpetuating exploitable vulnerabilities that help the malware/trojan fest that the web has become. 3) keeping Microsoft and Windows XP relevant. Seriously is it that difficult to look at a user agent and have the site prompt for an install of Firefox or Chrome or Opera or Webkit to help further the cause instead of holding the progress of the internet back?

  25. Re:Any guesses on when IE will natively support We by Djur · · Score: 1

    Any guesses on when IE will no longer define web standards?

    https://upload.wikimedia.org/wikipedia/commons/c/ce/Internet-explorer-usage-data.svg

    I'm guessing "now".

  26. Animation? by Comboman · · Score: 1, Funny

    Lossless compression and transparency are nice, but unless it allows for looping animated pictures of cats, I'm sticking with GIF.

    --
    Support Right To Repair Legislation.
    1. Re:Animation? by tepples · · Score: 1

      For animated cats, you want WebM. It's not lossless, but then neither was GIF for color pictures.

    2. Re:Animation? by Anonymous Coward · · Score: 0

      Animation was announced a month back as well. The same article has the link to it.
      Quoting:
      "Last month we announced WebP support for animation, ICC profile, XMP metadata and tiling."
      Link: https://groups.google.com/a/webmproject.org/group/webp-discuss/browse_thread/thread/4ab76cbde89e6ade/23512e5a1ed1dab0?lnk=raot

    3. Re:Animation? by Daniel+Klugh · · Score: 1

      You mean GIF is ALWAYS lossless. GIF doesn't support lossy compression.

      --
      Daniel Klugh
  27. PNG is good enough by GuB-42 · · Score: 1

    PNG is well supported, free, stable and fast. 28% size gain on something that is not a major problem in the first place is kind of a weak argument. IMHO. The only thing that made PNGs so popular it that GIFs don't support 32 bit (RGBA) colors. Look at audio files : most people still use MP3 even if OGG is superior in nearly every aspect, simply because MP3 is good enough.

    1. Re:PNG is good enough by j-turkey · · Score: 1

      PNG isn't really good for photography, since it does not support EXIF metadata.

      --

      -Turkey

  28. 50% reduction of images, not all bandwidth by Anonymous Coward · · Score: 0

    That might only amount to 5-10% reduction of total bandwidth.

    1. Re:50% reduction of images, not all bandwidth by DaVince21 · · Score: 1

      "Only" 5-10% can amount to a lot, though, especially for bigger websites. I'm sure Google itself would benefit a lot from this 5-10% as they have a ton of servers working overtime to serve pretty much every internet user out there.

      --
      I am not devoid of humor.
  29. Re:American innovation at work! by RoccamOccam · · Score: 1

    I'm sure that you didn't mean to leave all of the esteemed Democratic representatives that are co-sponsoring the bill: Rep. John Barrow [D, GA-12], Rep. Karen Bass [D, CA-33], Rep. Howard Berman [D, CA-28], Rep. John Conyers [D, MI-14], Rep. Ted Deutch [D, FL-19], Rep. Ben Luján [D, NM-3], Rep. William Owens [D, NY-23], Rep. Adam Schiff [D, CA-29], Rep. Debbie Wasserman Schultz [D, FL-20], Rep. Melvin Watt [D, NC-12]

  30. No by Anonymous Coward · · Score: 1

    Mobile networks are very constrained and, as many mobile device owners have noticed, the bandwidth is costly. A 28% delta in image traffic will inspire use. Have no doubt. Content providers are always eager to save bandwidth; images represent a large fraction of their traffic as well.

    I found the WebP transparency mode to be even more interesting than the improvements over PNG efficiency. A lot of images are not lossy only because an alpha channel is necessary. WebP 'transparent' mode provides alpha with lossy compression. This could provide dramatic space saving for certain applications, games in particular.

    1. Re:No by kikito · · Score: 1

      Well, if you want to be an early adopter, go for it, man!

      I will not use it on my pages until 10 years from now or something.

  31. Meanwhile just north of Australia by rossdee · · Score: 2

    The people of Papua New Guinea are not impressed

    1. Re:Meanwhile just north of Australia by Anonymous Coward · · Score: 0

      Neither are they compressed.

  32. PNG8 is here by porneL · · Score: 4, Informative

    I'm working on it -- or rather squeezing every last drop of the existing format.

    http://pngmini.com/vs-webp/

    With good PNG8+alpha quantization you can get compression in the same league as WebP (although WebP is still better) and basically 100% browser support (it degrades well in IE6).

    1. Re:PNG8 is here by terrox · · Score: 1

      is that real??

    2. Re:PNG8 is here by ararara_ · · Score: 1

      There is a very, very slight quality loss (only noticeable looking at the bottom left corner of the rose), for both the WebP and optimised PNG format, but it is not at all bad.

    3. Re:PNG8 is here by Anonymous Coward · · Score: 0

      Does this do gamma correction or whatever it is that PNG doesn't do? That really bugged me when I ran up against it.

    4. Re:PNG8 is here by edxwelch · · Score: 1

      PNG8 = 8 bytes per pixel. So you are limited to 256 colours. If you tried to convert a photo with that you would see noticiable artifacts.

    5. Re:PNG8 is here by VanessaE · · Score: 1

      Um, 8 bytes does not yield only 256 discrete levels, however 8 BITS does, which is the base format the grandparent refers to (and which I use quite frequently, minus the translucency). You may hand in your geek card on the way out.

    6. Re:PNG8 is here by edxwelch · · Score: 1

      that was a typo, dude. doesn't mean my point is wrong

  33. 4% Compression? by Anonymous Coward · · Score: 3, Interesting

    Using 37 topographic map png images ranging from 307K to 1.6M, the best compression I got was 4.09%

    Typical compression was roughly 1.7%

    In no way was I able to get 24% or anything close to that. But maybe I'm doing it wrong...

  34. How appropiate by kikito · · Score: 2

    The graph showing the additional compress ratio is a png.

    1. Re:How appropiate by Anonymous Coward · · Score: 0

      Well, do you want to see it in your browser today, or do you want to wait until WebP support is added to your browser to view it?

  35. EXIF by j-turkey · · Score: 2

    Please don't forget to leave in support for metadata (e.g. EXIF). If PNG had this from the start, it's very unlikely that we would still be using JPEGs.

    --

    -Turkey

    1. Re:EXIF by Anonymous Coward · · Score: 0

      Please don't forget to leave in support for metadata (e.g. EXIF). If PNG had this from the start, it's very unlikely that we would still be using JPEGs.

      WebP already has support for meta data - EXIF

  36. There is more to the world than the web. by westlake · · Score: 3, Interesting

    They are converting all of youtube to WebM, and it is the only royalty free web video codec. I'm pretty sure they will beat h.264 in the long run because free wins in the end.

    The key word here is "converting."

    H.264 is a core technology in digital video with 1,081 licensees. AVC/H.264 Licensees

    Studio production.

    Broadcast, cable and satellite distribution. Industrial applications. Home video.

    You can play Google's YouTube transcode in your browser. WebM may find an anchorage in video chat.

    But that is pretty much all you can do with WebM right now.

    There is no such thing as amatuer or studio grade production hardware. No such thing as a WebM security camera.

    1. Re:There is more to the world than the web. by Lord_Jeremy · · Score: 2

      Don't forget hardware-accelerated H.264 playback. Particularly mobile devices have media playback hardware of this sort.

    2. Re:There is more to the world than the web. by Anonymous Coward · · Score: 0

      Proliferation takes time and Google has a great leverage through youtube. With widespread webm use, there'll be a market for devices with webm support. Widespread usage and royalty free are very strong incentives for device makers. In comparison, theora never had as much leverage in usage and quality which created little incentive to support it.

      To survive, H.264 will have to reduce its licensing cost (which is contradictory as it may no longer have the volume to support it) or evolve the patents to justify the extra cost. Heck, I think the only loser of the deal is MPEG-LA as its existence hinges on status quo. That is a good thing, right?

    3. Re:There is more to the world than the web. by evilviper · · Score: 1

      H.264 is a core technology in digital video with 1,081 licensees. AVC/H.264 Licensees

      MPEG-2 is vastly more popular than H.264 will ever be... THAT DOESN'T MEAN I NEED IT IN MY BROWSER. Put MPEG-2 or H.264 encoders in your studio cameras, why not? Go ahead. But you don't just dump that ultra-high-bitrate video on the public, anyhow. You've got to reencode it at a reasonable bitrate, and with seriously constrained settings, particularly for mobile devices. That last re-encoding step may as well happen with WebM as anything else...

      No such thing as a WebM security camera.

      There are Theora security cameras. No reason not to expect we'll see WebM used there in the future. After all, H.264 had a huge head start on WebM. Back when H.264 debuted, you could have used it's slow adoption to dismiss it as well. WebM's wide open licensing seems likely to have natural advantages and ecnomies that even a gratis H.264 (because they're scared of losing their monopoly) can't match. Obviously, only time will tell.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    4. Re:There is more to the world than the web. by Anonymous Coward · · Score: 0

      There are already some GPUs that accelerate VP8 (WebM video codec)

    5. Re:There is more to the world than the web. by gsnedders · · Score: 1

      For mobile devices, the RK29xx provides hardware support. For desktop computers, some codecs are currently decoded by a mixture of dedicated hardware and shaders at a driver level (I believe AMD do this for MPEG-2, most commonly found on DVDs), so even for hardware that's already shipped adding GPU acceleration through shaders is entirely possible (and for GPUs that support OpenCL, it can be done in a generic manner).

    6. Re:There is more to the world than the web. by Anonymous Coward · · Score: 0

      Mobile devices don't have dedicated h.264 hardware decoders, they have a DSP which a decoder runs on, but which can also run a WebM decoder (if suitable codecs are provided). It isn't likely old devices will get updated for WebM support, but new ones can easily add it, and since Google owns Android, they're in a good position to encourage it on Android devices.

  37. Re:NIH - JUST DO IT by chris.alex.thomas · · Score: 0

    why not just extend it and screw the committee? why is it nowadays that anytime anybody gets a good idea they have to build a committee or a foundation, or a "working group"

    what happens to just doing things and worrying about the adoption later. I mean, if it's truely amazing, people will come onboard because t hey want the benefits also....

    why not just make it available, let people build it into the browser if you want, after all, just assign a mime-type, a dll someplace and bingo you're websites can support it, adding image formats or video formats is hardly a chore OR IF IT IS a chore, well, it's 2011 and if adding a new image format to a browser IS a chore, you didn't do a very good job of writing that web browser.

    JUST DO IT!!!! stop fucking about, JUST DO IT and worry about bullshit that nobody really cares about afterwards!

  38. Re:NIH - JUST DO IT by martin-boundary · · Score: 1
    Because that approach (just do it) has always been used in the past with bad results. If the format doesn't become popular, there's no harm done. But if the format does become popular, problems inevitably surface that are hard to fix precisely because the format is popular.

    The kind of problems that surface are: proprietary control that keeps changing (eg like MS Office file formats), forking and fragmentation (eg like when each browser decides to support their own version of HTML), unforeseen security and extensibility problems, etc.

    Just do it is the right way if you don't anticipate that many people will use it, but if you have a reasonable expectation that this will form part of the backbone of the internet, you should have a proper engineering review even though it takes years.

  39. TFA! Read it! by Zephiris · · Score: 3, Informative

    Then linked from the original article is the study is basing it on. http://code.google.com/speed/webp/docs/webp_lossless_alpha_study.html
    It's essentially saying that nearly the entire reason it's a fraction smaller in lossless mode is because there's no alpha support. Combining it the "optional" alpha mode with the "optional" lossless mode merely makes it near-identical in size to PNG, according to them.

    The more features you take out, and the more you degrade the pictures, the smaller they are in comparison to the original. Is this somehow surprising?

    --

    "A Goddess rarely smiles for she is forced by others to be an island unto herself." - Zephiris
    1. Re:TFA! Read it! by Anonymous Coward · · Score: 1

      Its lossless mode is always with alpha support. The alpha support is only optional in the lossy mode.

    2. Re:TFA! Read it! by Anonymous Coward · · Score: 0

      @Zephiris:
      Quoting from the study:
      "WebP-lossless: Lossless encoding mode for WebP (RGBA)."

      To clarify, RGBA implies RGB + Alpha. In fact, In the whole study (including results), lossless mode includes alpha channel as well.

    3. Re:TFA! Read it! by Anonymous Coward · · Score: 0

      Try out the binaries (png2webpll and webpll2png) to see that alpha is always stored in the lossless mode.

    4. Re:TFA! Read it! by more · · Score: 1

      Please mod the parent down, the claim is not correct and not supported by http://code.google.com/speed/webp/docs/webp_lossless_alpha_study.html

      --

      -- Imperial units must die --

    5. Re:TFA! Read it! by Anonymous Coward · · Score: 0

      I don't think you read the study correctly. WebP Lossless images should be the same as equivalent PNG images, including alpha. The size did nto reduce in webp because alpha was removed. Please read the study carefully.

  40. Re:NIH - JUST DO IT by webnut77 · · Score: 1

    why not just extend it and screw the committee?

    Sounds like the the 2nd E in embrace-extend-extinguish methodology. MS did that with HTML, Java, and other technologies. I don't know about the other technologies, but HTML is a mess.

  41. I have to call BS by Anonymous Coward · · Score: 1

    I've no doubt that WebP is an impressive now format, but the 28% quote can only be in comparison to an unoptimized PNG. Even using an archiver such as 7zip and feeding localhostr.com/download/JclO0Uh/ScreenShot2.bmp this image through every single one of its algorithms, the best improvement I could see was using PPMd on ultra setting with a 192MB dictionary and word size of 32. Total filesize became 3.23MB. The PNG that pngout gave me after one run was 3.31MB. So a 2.5% improvement using an archiver which does not allow for the decoding and vewing that normal image formats do. Running paq8px -8, which I would put forth as being one of the most extreme forms of compression there is, will eat roughly 1.5GB of ram and take 75 seconds to complete on my i7 920 @ 3.5ghz and the final filesize of that becomes 2.30MB, a 31% reduction. Decompressing that, by the way, will also eat a disturbing amount of system resources.

    28% reduction over a png that was crapped out by photoshop's default and notoriously bad encoder, sure. 28% over pngout AND pngcrush? Hahahaha, no. Whoever achieved that would land themselves a Fields medal (basically the nobel prize of mathematics).

    1. Re:I have to call BS by Anonymous Coward · · Score: 0

      More numbers

      libpng: 3567595 screenshot2.png, 1 second
      webp lossless -c 0 2847976 bytes, 8 seconds
      webp lossless -c 95 2557603, 30 min
      pngcrush 3510782, 80 sec
      pngout 3465039, 16 sec

      For this image, WebP lossless (at -c 95, the default compression) compresses 26.2 % more densely than pngout, but is much slower doing that.

      Decompressing is faster compressing: webpll2png screenshot2.c95.webpll -o /tmp/x -s completes in 320 ms (~20 MB/s). For two other large images I tried I saw 80 and 110 MB/s.

  42. How does webp compression work? Details please! by bzipitidoo · · Score: 1

    Should be easy to beat PNG's compression. Offhand, I can think of several ideas that should improve on PNG:

    1. Use bzip2 or xzip compression. PNG's compression is pretty much the same as gzip.

    2. More compressible representation of the data. RGB values of individual pixels is really not very good for compression. There's stuff like YUV of course, but what I mean is some kind of transform to a frequency domain somewhat like what JPEG does. Then compress the data. This has been tried often before, without much effect. Too much work for too little gain.

    3. Better filters. PNG's filters are fairly good and very simple. A little more sophistication and variety could pay off.

    4. Most images compress better when oriented sideways. Why isn't this very simple 90 degree rotation transform used more often?

    Which ideas does webp use? Haven't found anything that really says. Hoped the source code might have some of these details, but so far, haven't seen anything.

    --
    Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
  43. PNG doesn't support animation - completely stupid by Anonymous Coward · · Score: 0

    As far as I know PNG never had native support for animation - how could they have been so stupid to leave out a basic feature that GIFs obviously have?
    Also it has already been said PNG doesn't support EXIF.

    PNG deserves to become extinct because of those two obvious mistakes.

  44. Re:NIH - JUST DO IT by chris.alex.thomas · · Score: 0

    yeah ok, so lets all sit around and do nothing for ten years instead, cause thats working out so well isn't it?[/sarcasm]

    if you make a bad decision, thats a pity, just put your hands up, correct the mistake get on with your life, stop thinking you have the carry the weight of the world on your shoulders each time you make a decision, thats why we're 10 years later and CSS is still a pile of shit instead of being constantly revised and improved. For example, I _STILL_ cannot vertically align content, it's 2011 right? I mean, guys, make a fucking decision, but stop holding back the entire world because you don't want a make a mistake

    fail, but fail fast and then correct fast.

    your approach by requiring a years old review means that in 2050, I might be able to vertically align content, my approach means that I'll be able to do it next week and yes some mistakes will happen, but at least if you have an attitude of constantly upgrading the system, by 2050, I'll be doing things you'll never believe are possible.

    so if I had to choose between 50 years of ups and downs, or 50 years mostly consisting of waiting around for a bunch of dicks to make a fucking decision, I'd choose my way every time.

  45. Re:NIH - JUST DO IT by chris.alex.thomas · · Score: 0

    yes and you know what, it was a fantastic golden age of browser development, you realise how much development and improvements happened in those years? you wanna think about that the next time you write an ajax handler, if we took the w3c approach, we'd have waited years more to get what we got when microsoft took the "fuck you" attitude and just DID things, got them done, sure they make mistakes but fixed them and then out of nowhere, ajax appeared.....

    the old EEE technique is often derided as a negative, but to be honest, at least they improved the system a couple of inches further down the road and yeah mistakes were made, but tbh browser development rocketed forward and if they never did it we'd have had to wait years more for a committee of slow pokes (I'm looking at you w3c!!) to finally full their fat fingers out of their arses and do their fucking job.

    you know the situation, where your waiting in a queue and the guy in front of you, is pondering his options, checking what they need, asking stupid questions, etc, etc and you just feel like rushing to the front, shouting it to him, cutting through the crap and telling him what he really needs to hear and giving him the short and sweet that the clerk couldn't do for fear of losing his job? you've seen it on TV if not in real life I'm sure.

    Well, thats what I feel like sometimes whenever somebody says "w3c"

  46. Google Upgrades WebP To Challenge PNG Image by veni3jyo · · Score: 0

    Kids bedding . Nw submitter more writes wth news tht Google h added t t WebP image format th ability t losslessly compress images, nd t d wth a substantial reduction n file size compared t th PNG format. Quoting: “Or main focus fr lossless mode h bn n compression density nd simplicity n decoding. Sydney rental properties .

  47. Re:How does webp compression work? Details please! by Anonymous Coward · · Score: 0

    The WebP-lossless encoding is based on transforming the image using several different techniques and then entropy coding of transform parameters and transformed image data. The transforms applied to the image include spatial prediction of pixels, color space transform, using locally emerging palettes, packing multiple pixels into one and alpha replacement. For the entropy coding we use a variant of LZ77 - Huffman coding which uses 2D encoding of distance values and compact sparse values.

    (copied from http://code.google.com/speed/webp/docs/webp_lossless_alpha_study.html)

  48. GIF isn't 24-bit by tepples · · Score: 1

    GIF is always lossless for black-and-white and for color pictures with 255 or fewer colors. For pictures with more colors than that, it's always lossy.

    1. Re:GIF isn't 24-bit by DaVince21 · · Score: 1

      That makes it limited, not lossy. Save a file that was converted to 256 colors ten times more and the quality won't have degraded between the second and last save of that GIF file.

      --
      I am not devoid of humor.
  49. Re:PNG doesn't support animation - completely stup by Daniel+Klugh · · Score: 1

    PNG is a still video picture format. Why would anyone want to add animation to it? Just use MNG. That's the "GIF89a" equivilant of PNG. MNG is the "ANIM" to PNG's "ILBM", so to speak.

    --
    Daniel Klugh
  50. Open and save a JPEG at the same quality by tepples · · Score: 1

    That makes it limited, not lossy.

    And JPEG is "limited" to those images that can be represented exactly with DCT coefficients that are multiples of the quantization matrices. JPEG compression is just rounding each 8x8 pixel block to the closest representable one, just as conversion to GIF is rounding each color to a representable one.

    Save a file that was converted to 256 colors ten times more and the quality won't have degraded between the second and last save of that GIF file.

    Open and save a JPEG with better than 8-bit-per-channel precision and use the same quantization matrix and the quality likewise won't have degraded. It's not like MP3, which uses a psychoacoustic matrix and overlapping transform blocks (MDCT) that let rounding errors accumulate and propagate to adjacent blocks more easily. Granted, JPEG will add noise if you shift the whole image by less than a multiple of the macroblock size, but then GIF will add noise if you paste in something with a different color scheme from the existing pixels.