WebP has all the functionality of jpg, png, and gif while still being a smaller filesize. It has baseline support across browsers and devices. I’m no Google simp and work to de-google my family and workplace but this is a hill I will die on. Webp currently the best image file format.
If loser companies would support it I’d say AV1 Image File Format (AVIF) is the best.
Webp currently the best image file format.
Out of the widely supported ones, it’s quite good, yeah. Overall, I’d say JPEG XL is the better one. Ironically, only Safari supports it out of the box. Firefox requires a Nightly version with tweaking in
about:config
. Chrome used to have a feature flag, but has since removed it.The website mentions
Migrating to JPEG XL reduces storage costs because servers can store a single JPEG XL file to serve both JPEG and JPEG XL clients.
Does anyone know how that works?
I assume, decoding it on the fly? It’s possible to encode a JPEG as a JPEG XL losslessly.
I think compatibility was also being taken into account here. When not looking at compatibility, JXL is the best hands down. It’s criminal how little software supports it.
It is. The sentiment comes from majority of Americans using Apple operating systems, which refused to support WebP until recently.
it supports transparency and produces small file sizes compared to PNG while looking pretty similarly. fuck Microsoft in particular for not supporting it.
I really don’t get the WebP hate, it’s a good format. It’s better than PNG and JPG.
JPEG-XL exists, is factually better, and is not patent encumbered.
How is WebP “patent encumbered”? It’s an open format.
Open is not the same as patent-free, the two things can coexist (and they do in the case of webp).
It’s open to write the code, but in order to be authorized to use it you have to get a permit from Google. You can’t eg.: fork from Firefox and use their permit (as you implicitly could with patent-free). Plus, Google can rescind their patent grant at any point, which they are bound to do once they secure ownership of the internet.
That’s just not true.
Thanks for taking the time to disprove this
That’s still not patent free. Heck it’s right there: “irrevocable (unless we say so)”.
I didn’t say it was patent free, and the text doesn’t say “unless we say so”. It explicitly says the only way the patent grants can be revoked is if you enter patent litigation or enforcement regarding this code.
If you or your agent or exclusive licensee institute or order or agree to the institution of patent litigation or any other patent enforcement activity against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that any of these implementations of WebM or any code incorporated within any of these implementations of WebM constitutes direct or contributory patent infringement, or inducement of patent infringement, then any patent rights granted to you under this License for these implementations of WebM shall terminate as of the date such litigation is filed.
That is still a problem, but what I was responding to:
It’s open to write the code, but in order to be authorized to use it you have to get a permit from Google. You can’t eg.: fork from Firefox and use their permit (as you implicitly could with patent-free). Plus, Google can rescind their patent grant at any point, which they are bound to do once they secure ownership of the internet.
is just wrong.
I have no problem with calling out Google’s anticompetitive behaviors, even in this case, but don’t lie about it.
Yes, but that is actually almost “incompatible with every app and website”
A file format can not, by itself, be “incompatible” with a website. What matters is the browser, and Firefox at least is adding support (slowly), and they are the ones who matter ATM.
does jpeg xl support animated images?
It does, yes, but from what I gather it’s rather difficult to actually encode such an animated image compared to, say, a GIF. Display should work just fine.
personally:
- forced to be a thing by google
- bad-ish support in some applications or places even to this day
- always used to further reduce filesizes which means you are most of the time transcoding lossy jpgs and making them more lossy (lemmy is specially into this), which means that the alleged better quality is actually useless
jxl would make a better replacement for this last thing since you can losslessly transcody jpgs with ~20% filesize and in my testing, pngs with ~50% (though jxl lossless decoding is cpu heavy right now), lossless transcoding also means you could keep jxls in server, then give it to the client if it supports jxl, or transcode back to jpg if they don’t (this saves bandwidth and storage at the cost of some cpu usage, but jpg transcoding is really fast and you can cache highly used images)
It’s just tech illiterate being “oh no my image program not open this 10 year old new format”
PNG is lossless, so isn’t that like comparing apples to oranges?
Edit: Apparently webp can also be lossless. I don’t know anything.
Webp has both a lossy and lossless mode so the first part of this meme is lost on me
I guess that was the lossy part :)
| | | | | | _
The first part is wrong. And the second part is mostly wrong. Stop whining
Pro tip: If discord is complaing your screenshots are too large convert them to avif or webp. Now you don’t need nitro
I have never had a screenshot exceeding 40 MB. That is humongous.
If you screenshot computer/phone interfaces (text, buttons, lots of flat colors with adjacent pixels the exact same color), the default PNG algorithm does a great job of keeping the file size small. If you screenshot a photograph, though, the PNG algorithm makes the file size huge, because it’s just really poorly optimized for re-encoding images that are already JPG.
I took a screenshot of this page
(Screenshot removed because it takes forever to load and is not interesting enough to waste bandwidth on)
I am connected to a 4K monitor and this picture is also at 3775 × 2119. The total file size:
12.1 MB
Still a pretty limited palette, everyone wearing the same color shirts.
PNG tends to fail hard with textures. For example, my preferred theme in my chess app, which has some wood grain textures, generates huge screenshot file sizes (2MB), whereas the default might be less than 10% as large. Similarly, when I screenshot this image the file size jumps to 2MB for a 0.8 megapixel image.
Rendered textured scenes could easily overload the PNG compression algorithm to where they’re huge, and if Discord is historically associated with gaming, one can imagine certain video game screenshots blasting past that 40mb limit.
What if I want to screenshot my cocaine-fueled rant to my ex and mistakenly send it to said ex instead of my homies?
Then you need more cocaine.
Screenshoting modded minecraft on a 4k panel does it reliably for me
What - doesn’t - support webp at this point? P much all maintained open source software has for years upon years, os x has for years, Android and iOS have for ages as well, even windows added support a year ago or so supposedly.
Like are these memes made by confused time travelers?
It’s often a nightmare when sharing to chat apps to show friends memes etc
a) send links instead of polluting my storage with garbage, please
b) use Signal, it does webpFor the first point, I’m just going to throw out that sending the content can be preferable given how likely the link is to go dead eventually. There are a number of things I can no longer find because of this although it is admittedly an edge case.
Well yeah, but for memes, longevity isn’t really a priority.
It somewhat is for me, my partner takes days or weeks to click my links.
Sounds rough
Nah it’s pretty normal. You’re not always in the mood, maybe you receive a lot of content from other people as well
Well, yeah, but for memes longevity isn’t really a priority imo.
even windows added support a year ago or so supposedly
You answered your own question. I spent years playing the game of “This image is a JPEG. Will the website force me to save it in a format that can’t be opened by the basic Windows photo viewer, or will it actually be a JPEG when I download it?”
You’d be surprised how often it would turn out to be the former rather than the latter.
Windows photo viewer sucks, that’s your problem
Nomacs is a better alternative. Not perfect, but FOSS and faster than windows https://nomacs.org/
most people don’t want to install thirp party stuff for basic stuff that the system comes with
I thought most people replaced every part of Windows with something better, because none of it was very good.
Then you will never be a power user
Can’t go far with the defaults, on everything
Most people don’t want to be power users.
That’s why Lemmy will probably never be big
Discord doesn’t and a lot of other apps neither
Discord supports webp. I use it regularly.
Then is it Samsung’s flavor of android that is to blame ?
Might be, that one I can’t test, I don’t have any samsung devices.
I’ve never had an issue with webp on Samsung devices, either in Discord or not.
Webp’s purpose is to display images on web pages in a format that allows fast loading and rendering. When a user downloads or views an image it should be served in a better format. Webp serves it’s purpose perfectly. Don’t try to download a background of a webpage with the expectation that it will be in a format that is not beneficial to the pages function.
When a user downloads or views an image it should be served in a better format.
tell that to google chrome
I believe they’ve made the point that it’s not chrome’s fault, but the site’s/user’s - images displayed on websites should be webp to benefit from optimizations for displaying images, but download links should be a different format. The error would be either the user downloading the images from the display instead of the download (including from sites that do not offer images for downloading purposes?), or the website not including separate versions for download where relevant.
I’m not necessarily sure if that’s a good take, but that’s my interpretation of what’s being said.
Never understood why jepgXL didn’t win out
Because Google didn’t invent it, and Google decides what does and doesn’t get added to the Internet.
Google were literally one of the three organisations who worked on the standard, and the top contributor to the reference implementation works there.
And then they killed it. It was Google pulling support in Chrome that killed JPEG-XL’s momentum.
It was the Joint Picture Experts Group that invented it, so Google had no ownership over it, unlike WebP.
Google’s stance on JPEG XL is ambiguous, as it has contributed to the format but refrained from shipping an implementation of it in its browser. Support in Chromium and Chromeweb browsers was introduced for testing April 1, 2021[29] and removed on December 9, 2022 – with support removed in version 110.[30][31]The Chrome team cited a lack of interest from the ecosystem, insufficient improvements, and a wish to focus on improving existing formats as reasons for removing JPEG XL support.[29][32][30]
It was the Joint Picture Experts Group that invented it, so Google had no ownership over it, unlike WebP.
No, JPEG called for submission of proposals to define the new standard, and Google submitted its own PIK format, which provided much of the basis for what would become the JXL standard (the other primary contribution being Cloudinary’s FUIF).
Ultimately, I think most of the discussion around browser support thinks too small. Image formats are used for web display, sure, but they’re also used for so many other things. Digital imaging is used in medicine (where TIFF dominates), print, photography, video, etc.
I’m excited about JPEG XL as a replacement for TIFF and raw photography sensor data, including for printing and medical imaging. WebP, AVIF, HEIF, etc. really are only aiming for replacing web distributed images on a screen.
So Google contributed to it, but ultimately didn’t invent it and doesn’t own it. In other words, what I said.
As opposed to WebP, which not only do they own, they also own several patents for that cover the entire bitstream. They offer a patent license that is conditional on not suing them. So they basically own and control WebP entirely. They do not own, nor do they control, JPEG-XL. Google owns patents that cover a portion of JPEG-XL, but don’t have full control.
It’s different people who develop and who decide.
It’s slowly marching along with the reimplementation of its reference decoder in rust. That should hopefully satisfy google and mozilla’s demands and get them to adopt it in their browsers.
The compression technique it used was patented, and the licence fee was extortionate. By the time the patent expired, other, royalty-free, techniques were available that outperformed it.You’re thinking of jpeg2000
Oops. I’d somehow missed that there was now a third kind of JPEG.
I hate that Messenger doesn’t support webp. Makes sharing from Lemmy quite annoying. Signal takes webp though, no prob.
I screen shot and crop every meme i want to share from Lemmy. It is tedious.
I have a better solution that I found out by accident.
So you initiate the sharing, right, then before you select the Messenger app (or whichever app that doesn’t handle webp), you click the little edit button on the image above the shareable apps. That brings up cropping and other adjustments. But from here, you can just hit the big Share button immediately to share the image practically losslessly (without cropping mistakes and such). It brings up the share thing again but this time the image will be in a shareable format, presumably PNG(?).
Spread the word!
(This is on Android btw.)
Yes, I would like to waste 500 KB over the wire for an image of indistinguishable quality
This meme is out of date.
At this point I think Facebook messenger and internet explorer are the only ones that don’t support it. Oh and maybe the ISS.
WebP was created in 2010, and the ISS switched to Linux in 2013. So there is a possibility that at least one piece of software that’s running up there supports WebP.
This meme needs more artifacts
Not my fault that peoples pirated copy of Photoshop CS5 can’t open it.
Better to just use gimp at this point surely?
I use Krita, and it can open it.
I actually use it for creating thumbnails for a sorta niche application. The resulting files are quite small and the quality is fine. I do remember it being a pain in the ass to deal with ~10 years ago.