Why are we sending someone to "Extra Hell" for making an improved image format that has better compression and is an overall improvement over all 3 of the existing formats it replaces (jpeg, png, gif)?
Shouldn't this apply to everyone the companies who refused to adopt it, thus breaking every normal image workflow? (Same thing can be said about JXL)
webp will always be funny to me because it was made exclusively by Google to reduce lossy file size for faster HTTP transfer, but then when JPEGXL was released with better lossy compression and the ability to load graphical data progressively by quality instead of line by line bitstream, Google switched to AVIF instead and doubled down on even more lossy compression because they just want to save cloud costs and don't care about image quality.
AVIF has a lossless mode. Although nobody cares for it, the slightly lossy is fine. It's adjustable just like JPEG is adjustable.
Also, it's really annoying to convert since ffmpeg can't do it yet, but the two major browsers support AV1 video, with alpha, in a .avif that you can shove into an tag. It's basically just a video. But animated. And transparent. It also works on Discord web now (but not mobile). AND you can set repetition count, if you really want. Can't show the masterpiece I've made before with that since it would be way out of topic, although here's an HD example with the animation from here:
demo
Ironically, the creators of the damn browser didn't know that it's possible and used a .webm. Well, the bourgeoisie division of the organization that makes the browser, of course. The @redhat.com emails, lol. Also, the metadata for the .webm says "ezgif". Oh welp. And yes, the greenscreen leaking at the edges was already there.
Command (bourne shell): ffmpeg -c:v libvpx-vp9 -i pop-up-1480.webm -strict -1 -f yuv4mpegpipe -pix_fmt yuva444p - | avifenc --stdin pop-up-1480.avif (-c:v needed to get ffmpeg to read the transparency).
File size:
.webm: 540KiB
.avif: 486KiB
.gif: 6.2MiB
GIF command used for comparison: gifski pop-up-1480.webm -H 832 -r 33.3333333333333333333333 -Q 100 --extra -o pop-up-1480.gif, 100% to match original quality somewhat
spoilerIt also supports HDR. In year 2060, when the @redhat.com people finally get HDR out for everyone, we will have lazer eye """gifs"""
spoiler spoilerUsers of custom clients and netsurf (via custom frontend) and such will be complaining about this just like about OP's repost is complaining about WebP.
You used to be able to open an heic in the native windows 11 photo viewer and go to "save as" and resave it as a jpg, but they removed it. So I guess its deliberate.
Actually I would say the the one who goes to extra health should be whoever at Apple made the decision to use the patent encumbered HEIC format as the default for iPhone photos.
There are plenty of open picture formats that do the same thing without a patent tax.
My pain isn't in the browser, it's with other apps that are still playing catch-up.
A lot of apps have added support now, but there are still edge cases. Animated webp being one. If i send that in a messaging app, usually all the other person sees is the first frame.
It's absolutely not the fault of the format, I agree, but still a cause of compatibility headaches.
... What was ever wrong about webp? As far as I know it gives slightly better compression than jpg at similar quality
The biggest issue AFAIK has been that certain OS vendors didn't allow their users to enjoy it while the internet went on to use a new tool, so they got a lot of broken images
It's developed by google, and google having a lead in something usually isn't a good thing. They might just make up their own extensions and stuff, and other browsers will just have to deal with this. Just like they do with other web standards.
I never had problems with webp. Neither on android nor on my computer. I can copy and paste the images without problems. What kind of software are you guys using?
It was only ever an issue for me back when it was new and next to nothing supported it yet.
That isn't the case anymore, except maybe here on Lemmy where by default, animated images don't properly upload. Doesn't even matter the format; webp, gif, mp4, etc. They don't work out of the box here; they embed fine if hosted elsewhere, tho.
Probably to WEBM format. And I agree with that sentiment. Much smaller file size, but you can't copy them like a gif since they're treated like a movie file.
top 50 comments