Live data from Hacker News

WebP - A new image format for the Web (by Google)

developers.google.com

31–40 of 58 posts

Re: WebP - A new image format for the Web (by Google)

#31
post #27
post #23

Earlier quoted context omitted.

Did you try -q 100? That might be an idiom for lossless.

I did, and it produced a huge .webp file, 6.7 times larger than the original PNG.

rtfm? Check the examples at the bottom: https://developers.google.com/speed/webp/docs/cwebp

Re: WebP - A new image format for the Web (by Google)

#35
Facebook should support this in their native mobie apps. I'm sure they have to creat multiple copies already to support both mobile and web. So there is no extra cost and since they control mobile viewing it's easier for them than anyone else to adopt this new format.

Re: WebP - A new image format for the Web (by Google)

#36
post #14

We could make the web a lot faster and/or do some really cool stuff if we had a lossy image format with an alpha channel. It'd be nice this got picked up by all browser vendors. Sadly, I fear that they'll be squabbling over it, just like they are with VP8/Ogg/h.264. I really believe that the companies involved in web standards are holding progress back at this point. At the same time, even if they all agreed to put t…

> We could make the web a lot faster and/or do some really cool stuff if we had a lossy image format with an alpha channel.

We do!

http://pngquant.org & http://pngmini.com/vs-webp/

Sadly, very few people know about it and make good use of it. Mostly it's lack of awareness and dominance of poor/outdated tools (cough Photoshop cough) that don't fully utilize formats we have.

Re: WebP - A new image format for the Web (by Google)

#37
post #18
post #12

No one needs smaller images anymore. With today's bandwidths getting higher, image sizes are irrelevant. One-time 25% decrease in image size, years in development and more years to widespread adoption, not worth it.

Yes yes yes we do! Bandwidth may be increasing, but as displays get better we are going to be serving up ever increasing assets. Sites are already serving up 2x'd versions of images for iOS devices that have higher resolution screens. These higher res images essentially quadruple your file size. On top of that these devices are mobile, which lag behind broadband/ethernet connections AND many of which have data limit…

Sizes of "Retina" PNGs can be halved just by using better PNG compressors, here's real-world example:

http://imageoptim.com/tweetbot.html

It's annoying that we have the tools. We don't need new format for this, just use what we have already!

Re: WebP - A new image format for the Web (by Google)

#38
post #36
post #14

We could make the web a lot faster and/or do some really cool stuff if we had a lossy image format with an alpha channel. It'd be nice this got picked up by all browser vendors. Sadly, I fear that they'll be squabbling over it, just like they are with VP8/Ogg/h.264. I really believe that the companies involved in web standards are holding progress back at this point. At the same time, even if they all agreed to put t…

> We could make the web a lot faster and/or do some really cool stuff if we had a lossy image format with an alpha channel. We do! http://pngquant.org & http://pngmini.com/vs-webp/ Sadly, very few people know about it and make good use of it. Mostly it's lack of awareness and dominance of poor/outdated tools ( cough Photoshop cough ) that don't fully utilize formats we have.

Those are really nice, and the gallery goes a long way toward making the case for it.

It's worth underlining the fact that "lossy" here means "really nicely dithered 256-RGBA-palette PNG8s", but (as the gallery examples demonstrate), that may be sufficient for most of the kinds of images that have significant transparency and that would be likely to be found on a webpage (even sprites for a canvas game).

Honestly, I would still like to see WebP support in spite of its drawbacks (thanks software patents!) for it's better definition of "lossy" and for saner alpha compression, but between better pngs from software like this and upcoming support for DXT5 in WebGL, most of the compelling market drivers may be gone.

Re: WebP - A new image format for the Web (by Google)

#39
post #20

required reading: http://x264dev.multimedia.cx/archives/541 - don't know how relevant it is now, but still a good read.

That article is about the old encoder, though, and it's almost two years old. It ends with an update from a year ago in which he mentions that the new (at the time) encoder in libwebp should beat jpeg.

Re: WebP - A new image format for the Web (by Google)

#40
post #14

We could make the web a lot faster and/or do some really cool stuff if we had a lossy image format with an alpha channel. It'd be nice this got picked up by all browser vendors. Sadly, I fear that they'll be squabbling over it, just like they are with VP8/Ogg/h.264. I really believe that the companies involved in web standards are holding progress back at this point. At the same time, even if they all agreed to put t…

What keeps one from implementing a pure javascript implementation that renders to canvas? Do we need browsers to support formats anymore? With WebGL, WebCL, high speed JS and the canvas tag don't we have everything we need?
Post reply on HN