I don’t know what a .webp file is but I don’t like it. They’re like a filthy prank version of the image/gif you’re looking for. They make you jump through all these hoops to find the original versions of the files that you can actually do anything with.
Edit: honestly I assumed it had something to do with Google protecting themselves from image piracy shit
It’s just a new picture format that is arguably better than jpeg in many scenarios. It has been around for many years. Windows just refuses to do file associations correctly, so people hate it for no reason.
Here is an example of a non crap webp:
Is there a joke I’m missing here?
No, it’s just a random blender render.
For anyone who doesn’t know, you can easily change the file extension to .jpg and it’ll still work.
But also know that it’s not a jpeg, and it only works because whatever app is opening the jpeg is able to read the webp format.
You cannot rename a file from webp to jpg, but you can change the URL to .jpg and it will likely serve you the jpeg version. You can also convert webp to another format with dwebp or MS Paint.
The format actually has a lot of benefits - it supports transparency, animation, and compresses very efficiently. So it could theoretically replace GIF, JPG, and PNG in one fell swoop.
The downsides are that many apps don’t currently support it and that it’s owned by Google.
Personally I use webp for images that are not intended to share (e.g. banners and images on my blog), but stick to JPG/PNG for sending to other people.
and that it’s owned by Google.
I mean yes, but it’s
patentirrevocably royalty free (so long as you don’t sue people claiming WebM/P as your own/partially your own work), so it’s effectively owned by the public.Google hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer implementations of the WebM Specifications, where such license applies only to those patent claims, both currently owned by Google and acquired in the future, licensable by Google that are necessarily infringed by implementation of the WebM Specifications. If You or your agent or exclusive licensee institute or order or agree to the institution of patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that any implementation of the WebM Specifications constitutes direct or contributory patent infringement, or inducement of patent infringement, then any rights granted to You under the License for the WebM Specifications shall terminate as of the date such litigation is filed. “WebM Specifications” means the specifications to the WebM codecs as embodied in the source code to the WebM codecs or any written description of such specifications, in either case as distributed by Google.
Source: https://www.webmproject.org/license/bitstream/
(But Dark, that’s WebM not WebP! – they share the same license: https://groups.google.com/a/webmproject.org/g/webp-discuss/c/W4_j7Tlofv8)
Thank you for this. I was kind of on the fence because of its ties to google but this helps a ton.
You could still be on the fence. It’s Google so for sure it has the possibility of tracking or some other user exploiting bullshit feature but we haven’t figure it out yet.
It’s open source. https://www.webmproject.org/code/#webp-repositories
It’s also just an open file format. Anyone could implement it, and in fact I found dozens of completely independent implementations of webp decoders on GitHub in various languages.
There really is no secret ulterior motive in this case.
There really is no secret ulterior motive in this case.
Sort of. Smaller images mean it’s less work for Google to crawl and index them, if every image is 40% smaller then that’s potentially saving them millions a year in storage and bandwidth costs.
So, yea, it’s better for the web but it also massively benefits them.
Well, they crawl and index anyways. I see no harm done with .webp. One of my friends said with .webp you can’t save an image because it stops you from doing that somehow? I’m unsure, maybe true maybe not.
Open source just like Chromium or Android, right? They’re open source also, right?
Open source just like Chromium or Android, right? They’re open source also, right? 😈
I’m not sure what point you’re trying to make.
Chromium and Android really are open-source. There are hundreds of products like Electron and Fire OS built on top of them without any involvement or consent from Google.
Just because Google Chrome and Pixel phones have some proprietary code doesn’t mean that Android and Chromium aren’t open.
Dammit. Why do you have to make a lot of sense. 😂
Yeah I wouldn’t have an issue with them if they weren’t so incompatible with most of the programs and sites I like to use. It makes them super inconvenient to work with. I know some apps are catching up and supporting them, but it feels like the adaptation is slow and patchy which makes it difficult to know which programs will support webp at some point and when.
And here comes jpegXL claiming the same things. Fun times.
JPEG XL came after WebP. It’s more of a successor and less of a competitor.
That said, in the world of standards, a successor is still a competitor.
Okay, but jpeg xl is looking pretty good. Especially the ability to losslessly convert jpg to jxl.
Jpegxl will die because it has a bad name, that’s it
We usually call it JXL for short.
I’ll take it, hopefully jxl becomes the primary way it’s referred to 😁
So basically what APNG tried to be?
APNG is lossless.
True. Why did it remain relatively unknown while webp seems to have taken off?
libpng refused to accept it
mozilla made it because it suited their needs; and libpng (the organisation behind png, and who make the standard png decoder[1]) refused to add compatibility, insisting on mng instead. mng was bad, so nobody used it; and apng was great, but require mozillas version of the decoder so systems couldn’t use both the official version and the apng supporting version together
and have a fantastic website ↩︎
Ah, so it was people being prideful idiots because it didn’t come from their own fiefdom.
partly, i don’t think it was just that. mng did have considerable benefits over apng at the time; but it was a solution looking for a problem. i think they wanted it to succeed because they’d poured time into it, but nobody wanted to support it (mozilla, the only browser to support it to my knowledge, dropped support eventually because the mng decoder was bigger than every other image decoder in firefox put together)
To add to the reply you got, WebP is lossy. Meaning that WebP files are smaller. APNG only added animation and nothing else.
That’s a great idea. But can’t webp simply be converted into a png or mp4 file?
mp4 isn’t generally for images.
Yes you can convert, it’s just that many existing tools may not presently support webp. If you just want a quick & dirty meme you can always screen cap.
The fun thing is
heif
is actually effectively single frame of h.265 video because the amount of work that’s gone into making h.265 space efficient also happens to work really well for efficienct compression of individual frames of video aka images
Potientially dumb question here, but how does Google own a file format? They own the patent?
look up mp3 – that didn’t become public domain until pretty recently (I think 2017?)
not an uncommon thing really
Wait LAME encoders are now obsolete? Tf? How did I miss this?
I think so, but I’m no expert on the details of legal ownership.
@Dark_Arc@lemmy.world added a good comment here that explains the royalty free licensing.
You would like it if you had slow internet, or you hosted a website.
My website turned 5MB images into 100KB images using webp. My website now loads instantly, saves you bandwidth, and me costs!
Wait really? Are they that much more efficient?
Yep! Not least of all, GIF & JPEG are over 30 year old formats and WebP is about a decade old. So there’s at least 20 years of advancement there
JPEG-XL has been out for three years, and is better and more efficient than any other image format on the market. Google just has been insisting on keeping them off the web because they want to push WebP instead.
It’ll be interesting to see which wins out, .jxl or .webp
Place your bets folks!
I’d bet on WEBP simply because it was first out of the gate. Even though JXL is likely a better overall solution, it might arrive too late to dethrone WEBP. I’m already seeing WEBP in lots of places.
I think webp has already “won”, because google refuses to have jxl support in chrome, the web browser most of the people use.
Apart from that, if I’ll have a website I’ll aim to support jxl and the old formats, but webp not even by mistake.
Why? I think this is yet another thing with which google wants to be everywhere for this or that reason and I’m fed up with that.
That means absolutely nothing. We went to the moon with hardware that had ram in kilobytes. Today you need a supercomputer from the 70s to run the add of a Web page.
Progress is not linear. C is still used everywhere while some other languages didn’t live a tenth of its age. New is not always better.
The reasons for this is that computing power is cheap but developers are expensive.
Yeah for sure, new is not always better.
Though for compressed media file formats, that pretty much has been the correlation for a while (though obviously there’s many different conflicting qualities that can make a file format “good” for various purposes)
Take video for example: MPEG2 came along and MPEG quickly became uncommon within a couple of years. MPEG4 displaced MPEG2 due to being more efficient. DivX/AVC replaced that for the same reasons and HVEC/VP9 replaced that. We’ve got AV1 coming now that looks to have beaten h.266/VVC to the punch, but it’s still a fairly linear progression of improvement.
Given all that it’s kind of mad we’ve not seen the same level of iteration on image file formats, but that’s almost entirely down to browser wars and having to pick lowest common denominators. JPEG2000 might have taken off if it wasn’t for the fact only Apple ever implemented it in a browser—it was definitely a technically better format.
and HVEC/VP9 replaced that
I wouldn’t say that. Maybe youtube uses it by default (I don’t know, though) but a lot of other sites still use H264.
And I don’t see AV1 even on the horizon.
A couple of years ago (2?) I tried converting some of my huge H264 video files to AV1 with then up to date ffmpeg. It was horrendously slow. I don’t remember the numbers but I’m pretty sure it was progressing much slower than the clock.It’s due to the maths behind. Special algebra is used for video compression, and a discovery has been made something like 15 years ago that allows a better video compression. It fueled technical progresses of the last years.
For images, we basically hit the wall quite some time ago. The new technologies are more about engineering improvement than math improvement.
Then there is the technical environment. It doesn’t matter if your technology is a bit better than the old one because the cost to change the whole technical environment is insane. That’s why ipv4 is still there for example. Changing everything for a new technology to be used is a long, costly and painful progress. But this is something only developpers can’t cope with, because the development culture is painfully ignorant of industry constraints and time lines.
Lol I still don’t really understand ipv6 and I work in IT. Ipv4 is so much easier and nicer to work with
Huh, TIL!
Absolutely not. 5mb is what his phone spit out and it could trivially have been reduced to a 100kb easily as a jpeg
No.
Yes.
Would you like to explain why you say no?
Because you’re implying that it’s 50x more efficient than jpeg, it’s not. For similar visual quality of images webp will on average produce a ~30% smaller file.
deleted by creator
WebP files are usually only 24-35% smaller https://developers.google.com/speed/webp/docs/webp_study
The real question is the hell did people downvote me? Looks like Lemmy turned into Reddit in a month’s time…
The real question is the hell did people downvote me?
You shut someone down without informing or educating them on a text based discussion centric community with an academic stick up its ass. A one word response to a complex technical question is terrible etiquette in this sort of social environment.
So… Reddit, ok.
The real question is the hell did people downvote me? Looks like Lemmy turned into Reddit in a month’s time…
Next time lead with the why instead of a one word “no”. This is a discussion forum, nobody knows who you are and certainly nobody is taking your word as truth if you don’t provide evidence.
It should be obvious why to any person.
Bruh…
5mb to 100kb is not a typical result, so I would imagine that you are comparing apples to oranges (e.g. a very high quality jpeg vs a low quality webp)
Webp is a fairly standard if rather new image format, that are frequently used by websites due to their small file size. To further cut bandwidth costs and loading time, websites will often only include a tiny webp of an image until you click to expand or something like that, so that they don’t have to serve a massive image if the user will only even see a thumbnail sized preview. However, this does break the “save image” button as if you try to download the thumbnail, say from google images.
Completely separately, some scummy sites will make you sign up for an account or something to download a full size image, and the only advice I have here is that it is almost always faster to find another site with the image then jump though the hoops.
Or print screen and paste into an image editor
I take a photo with my Polaroid.
Just a way for Google to influence and force change on end users away from previously accepted standards, a strategy that allows them to further obfuscate attempts to DRM all media to make sure only authorized parties can play in the sandbox. Don’t worry, they’re trying to move the entire browser that way as well. Mandatory ads and mandatory DRM that can scan your cache and local files for possible violations are coming right goddamn behind it all.
WEBP is effectively a container format warped into a media compression format, it’s strength that’s actively exploited is obviously in saving a little bandwidth by (further) compressing and serving smaller sized cached webp files of existing jpg/png/gif/etc files to end users.
PNG (and JPG for that matter) has worked just fine for static image files for decades, but that was a community project created to work around the patent encumbrance of GIF so there’s not money to be made and nothing to embrace/extend/extinguish by the big patent happy corps by allowing it to retain status as a ‘standard’ in active use. Bandwidth, processing power, and storage have come a long way since PNG started giving us better quality than JPG’s inconsistent compression artifacts.
/waves old man cane around in the air in a threatening manner
Google being fucking Google.
I downloaded the Save By Type extension because it was impossible to some of my schoolwork this term due to the webp BS.
Dont blame google, it is Mucrisoft’s fault for refusing to support them under default windows. The format itself is in many ways superior to both PNG and JPEG.
If one company is pushing something (google) and several others have trouble with it (MS, Apple, Adobe) then maybe the pusher is to blame for issues?
Gimp, who’s developmental team consists of a bunch of volunteers supports it, the reasons those companies don’t support is is either because they don’t care about users (Adobe), or because they are pushing their own, proprietary format. (Apple) Microsoft directly competes with Google in the cloud ecosystem space and therefore wants to make using Google as painful as possible. (See microsoft making it a huge pain to switch the default browser to chrome)
See microsoft making it a huge pain to switch the default browser to chrome
Are you high? Chrome dominates the browser market. This is such a blatantly terrible argument.
Why do so few apps (besides browsers) seem to support it? E.g. Win10 photo viewer and seemingly all my messaging apps
The format itself sounds good, and I see it everywhere online, but is there some reason it’s unsupported?
Works great in Ubuntu.
My guess is Microsoft doesn’t like it because Google came up with it. Ms has had some issues with recognizing open formats before. Could be you are using old versions of apps too.
Oddly enough I had a hard time getting webp files to work as desktop backgrounds on Ubuntu even if it opened it fine in the viewer. Had to use a converter
Photoshop couldn’t open it which is absolutely hilarious for an expensive app… while Paint.net can.
Paint.net is one of the first apps I install on every new computer. It’s just excellent for quick and dirty image manipulations.
.webp was developed Google so of course Microsoft hates it and tried to hinder it’s adoption.
They also don’t, by default, support HEVC and charge you to open them now… it used to be a free app on the Microsoft store.
https://www.windowscentral.com/microsoft-now-charging-hevc-video-extensions
That’s not on Microsoft. HEVC is not royalty free standard, so Microsoft had no chocie.
I can recommend qimgv for an image viewer.
Because Google bad, even when they make the rare good thing
webp is cool, but I much prefer JPEG-XL
Oops, I dropped my Magnum condom for my Magnum JPEG.
XL is such a counter-intuitive suffix for a compression format.
JXL for short.
I don’t know what they are other than a file format; but I also don’t know what everyone’s problem with them is. They open in every viewer or editor I’ve used just fine so you can convert them by just saving as a new format if you’re trying to reupload them somewhere.
My gripe with them is that MacOS Finder won’t generate thumbnail previews of them and just displays a generic image icon. You’re free to say “that’s dumb, fuck Apple,” but I hope it illustrates a widespread example of how they’re aren’t as easy to deal with as JPGs and PNGs.
This plugin will fix the thumbnails in Finder
Couldn’t you use a file manager that sucks less?
Yeah sure let me switch computing platforms for this one file format… just one sec…
Don’t they make better file managers for Mac hasn’t finder been kind of a joke for like 20 years now
The seems like there is a problem with your platform if you can’t easily switch to a reasonable file explorer.
This seems like the crowd to have ffmpeg installed. Ffmpeg will convert webp to jpeg real easy, don’t even need to specify a converter.
It’s a image format with extremely good compression that’s tiny doesn’t look bad. As someone who had shitty internet for years I definitely welcome them but as usual with Googles inventions they push it on to everyone and let other browsers catch up.
Here’s a Firefox extension that adds right-click context menu options to save the webp as PNG or JPEG:
https://addons.mozilla.org/en-US/firefox/addon/save-webp-as-png-or-jpeg/
and its GitHub page:
https://github.com/jscher2000/Save-webP-as-extensionMakes it a bit easier than downloading the webp and converting it.
Google is going to fuck it all up. So try the add-on when you can.
deleted by creator
Google is going to fuck it all up
What do you mean?
Search google manifest v3 and new API integrity
But… He linked a Firefox extension… Which is keeping support for v2 api calls as well
🤦♂️
Usually you can inspect the web page and find the original jpg to download. Its annoying though.
You can take them into GIMP (or probably any image editing software) and turn them into png or what have you.
Magick is way faster to learn than opening gimp once.
convert in.webp out.png
The webp package does it too. You can make a script and add it to your right click “open with” options
#!/bin/bash # Convert .webp to .png outfile="${1%.webp}.png" dwebp $1 -o $outfile
if you want to use Magick, replace the last line with
convert $1 $outfile
Just fullscreen them and screenshot with Greenshots lmao
Or use “save as” and replace the “.webp” extension with “.jpeg” in the file dialog.
This only changes the user-friendly name, not the way the file is encoded.
They’re a pain in the ass sometimes because I can’t say, download one and send them in certain chat programs. But you can use a program like Gimp to convert them easily.