Is WebP really better than JPEG?
211–220 of 319 posts
Re: Is WebP really better than JPEG?
#212Earlier quoted context omitted.
Because JPEG 2000 was essentially a patent-covered mess that nobody wanted to touch
Shouldn't those patents be expiring soon? Edit: Did some more research and the patent risk appears to have passed as of 2016. Still nobody seems to have interest in JPEG2000.
Re: Is WebP really better than JPEG?
#213Earlier quoted context omitted.
can be supported in any browser via a Javascript I think you answered your own question right there. I'm not going to use a dumptruck to bring a single sack of sand to my garden.
For an image gallery, the balance could be the opposite: a small (56k) download of a decoder allowing to show many large (a few megs each) pictures. I wonder how good the performance of that decoder is, though; if the decoding delay is much longer that the network transfer delay, the approach becomes much less appealing.
That means that in most cases the main driver is lower network transfer and you need to be serving a LOT of images to outweigh the cost of having to support something new and complicated versus something as widely tested and supported as JPEG.
Re: Is WebP really better than JPEG?
#214Re: Is WebP really better than JPEG?
#215Earlier quoted context omitted.
WebP also supports animation, which is important because GIFs are notoriously large.
Animations should just be videos. No reason for an animated image format, an animated image is just a video with no audio track.
Re: Is WebP really better than JPEG?
#216Earlier quoted context omitted.
Animations should just be videos. No reason for an animated image format, an animated image is just a video with no audio track.
My understanding is that webp is video. That is, it's a still frame using the vp8 codec.
Re: Is WebP really better than JPEG?
#217One of the biggest barriers against adoption of these newer formats is the lack of pure java implementations for use server side. The Java wrappers around a native binary are helpful, but for many projects not very useful and this hinders adoption. https://github.com/haraldk/TwelveMonkeys/issues?q=is%3Aissue...
Is JAVA still a thing?
Re: Is WebP really better than JPEG?
#218Earlier quoted context omitted.
Animations should just be videos. No reason for an animated image format, an animated image is just a video with no audio track.
An animated WebP is basically a WebM video. Or let me rephrase, why is WebP as a animated picture / video format insufficient?
Then, there's optim being made in WebP to allow fast jump to keyframe, even when there's transparency. Video codec don't allow that, and you can have an arbitrary long torture sequence of transparent frame that needs to be decoded back when the video comes in the view again.
Last, animation are usually low-fps (~10fps): there, video codec don't perform very well and are basically keyframes. So the difference isn't as great as one would think.
Oh, and hardware need a 'reset' between decoding tasks, to reconfigure memory, and decoding can't be parallelized.
Re: Is WebP really better than JPEG?
#219Earlier quoted context omitted.
How? Do you know how many binaries link to some old version of libjpeg? You're breaking 99.9% of the world and 80% of it is stuff that can't even be recompiled, probably. In fact, JPEG 2000, which was standardized, in, well, 2000, already has transparency support, and 20 years later still have no meaningful support.
On the web you can do it with SVG. https://github.com/leni536/trans_jpg
Re: Is WebP really better than JPEG?
#220Earlier quoted context omitted.
You can argue the toss over quality, but JPEG can't do transparency while WebP can. So if you need transparency, you need to compare the size savings to PNG, not JPEG. WebP is the clear winner there.
If transparency was the main issue, adding transparency to JPEG sounds easier than coming up with a completely new encoding, especially a lossy one.