217
submitted 4 months ago by Sunshine@lemmy.ca to c/fedimemes@feddit.uk
top 41 comments
sorted by: hot top controversial new old
[-] pivot_root@lemmy.world 78 points 4 months ago* (last edited 4 months ago)

Fuck webp, use JPEG XL*. It supports lossless and lossy compression, and it's compression is on par or better than webp. It also isn't entirely designed by Google.

* With JPEG fallback. Google, being Google, blocked the addition of JXL decoding in Chrome and Android.

[-] MissingInteger@lemm.ee 34 points 4 months ago

Only Apple supports JPEG XL.
Neither Chromium nor Firefox supports it (Chromium needs an extension and in Firefox you have to configure a variable in Nightly).

[-] pivot_root@lemmy.world 9 points 4 months ago

Sadly, yes. That's why I mentioned the fallback to JPEG.

[-] UndercoverUlrikHD@programming.dev 2 points 4 months ago* (last edited 4 months ago)

~~Firefox supports it if you enable it in the settings. You don't need nightly~~ Doesn't work any longer

[-] MissingInteger@lemm.ee 2 points 4 months ago

No, you need nightly or an extension.
Enabling image.jxl.enabled in builds other than nightly won't do anything.

[-] UndercoverUlrikHD@programming.dev 1 points 4 months ago

Is that a recent change? I remember having it working on Firefox, but I don't think I've ever had nightly installed.

[-] MissingInteger@lemm.ee 2 points 4 months ago

According to caniuse it seems to have been only ever available in nightly.
For anyone interested here is a test site for jpeg xl (and other image formats).

[-] UndercoverUlrikHD@programming.dev 2 points 4 months ago

I guess my memory is playing tricks on me then, my bad. Must have been using nightly at some point then

[-] poVoq@slrpnk.net 77 points 4 months ago

The pict-rs backend can be configured to automatically convert images to webp. So if an instance admin cares about the "bytes" they can do so.

[-] homesweethomeMrL@lemmy.world 63 points 4 months ago
[-] SubArcticTundra@lemmy.ml 8 points 4 months ago

Now if only Windows and Linux supported it out of the box...

[-] Emperor@feddit.uk 18 points 4 months ago
[-] rumschlumpel@feddit.org 16 points 4 months ago

Recipe for disaster, though.

[-] spicytuna62@lemmy.world 13 points 4 months ago
[-] ALiteralCabbage@feddit.uk 6 points 4 months ago

But does it matter for something like a meme posted on a whim?

[-] RandomVideos@programming.dev 4 points 4 months ago

Future historians will exclusively use memes posted on a whim to reconstruct the past

[-] GlenRambo@jlai.lu 1 points 4 months ago

What do you mean future? The current gen (gen π?) use memes posted on a whim to construct the present.

[-] rumschlumpel@feddit.org 3 points 4 months ago* (last edited 4 months ago)

Might not matter as much for memes, but what about all the posts that discuss news, including images that show statistics graphs? General howtos? I think there's also a lot of very interesting contemporary discussion in screenshots of social media posts (e.g. tumblr) and incriminating statements on Xitter or Facebook that will likely be deleted from the accounts soon after.

[-] Feathercrown@lemmy.world 6 points 4 months ago
[-] Irelephant@lemm.ee 3 points 4 months ago

Why do so many isps block it?

[-] Feathercrown@lemmy.world 2 points 4 months ago

Probably hosts content they don't allow. The site claims it doesn't host illegal content, but that it's very permissive...

[-] hmmm@sh.itjust.works 2 points 4 months ago
[-] Feathercrown@lemmy.world 2 points 4 months ago

On my phone? Am too lazy

[-] Sunshine@lemmy.ca 14 points 4 months ago* (last edited 4 months ago)

I love how Tesseract has the automatic conversion to webp option when posting.

I tested converting my png profile picture on mastodon and the size went down from 350 kb to 70 kb.

[-] flamingos@feddit.uk 6 points 4 months ago

I use Switcheroo which has convenient options to downscale as well.

[-] pewgar_seemsimandroid 12 points 4 months ago
[-] spicytuna62@lemmy.world 10 points 4 months ago

I usually crop, resize, and/or reduce quality before I post images anymore. I aim for images to be less than 500 kB before uploading unless it's that worthy of a zoom or the extra detail.

I don't think there's that much perceptible quality loss between an original 16 MP image and resizing it to 4 MP and 80%, but the image ends up around 90% smaller. This was basically how I had my digital point and shoot camera set up in 2008. My mom gave me a 256 MB SD card for it, and that went fast sometimes.

[-] SatyrSack@feddit.org 8 points 4 months ago

In my limited testing, exporting as a JPG can sometimes lead to a smaller file size than exporting to WEBP. Not always. I'm not sure if there is just some "point of diminishing returns" or whatever where JPG actually becomes more efficient or what.

[-] ChaoticNeutralCzech@feddit.org 9 points 4 months ago

WebP can be either lossless or lossy. These two modes achieve objectively better compression than PNG or JPEG, respectively. Obviously, you need to pay attention to the settings to get the best file size for your use case.

[-] weker01@sh.itjust.works 2 points 4 months ago

That is actually something I really dislike. Lossless and lossy formats should be immediately distinguishable.

[-] ChaoticNeutralCzech@feddit.org 1 points 3 months ago* (last edited 3 months ago)

What if I told you JPEG can be lossless too? By dialing the quality to 100% and using the rare setting of 4:4:4 RGB to prevent loss through colorspace conversion, you can create JPEG files that store any 8bit picture losslessly. It will be larger than a BMP for some of them but that is correct for any lossless format.

[-] The_Decryptor@aussie.zone 2 points 4 months ago

I’m not sure if there is just some “point of diminishing returns” or whatever where JPG actually becomes more efficient or what.

There is, but it's at high quality levels. If you're using WebP for thumbnails or other lower quality situations (Which was the original intended use) then WebP will give you better quality than JPEG for a given filesize.

For lossless uses it's even better, the format is much more limited than PNG, but in the common cases it beats it.

[-] RmDebArc_5@sh.itjust.works 8 points 4 months ago

Is there a client that automatically converts/optimizes images (locally) when uploading? Preferably on IOS

[-] GreatAlbatross@feddit.uk 7 points 4 months ago* (last edited 4 months ago)

When you copy and paste an image from a web browser (an image, not the original file), it often puts it in the paste buffer as a png.

So it's not impossible for someone, without realising, to paste a 50MB image in a reply.
With a decent internet connection, you might not even twig.
And if the server isn't set with filesize limits and transcodes, you can end up with a very small number of images taking up a very large amount of space.
Common examples are hi-res paintings/movie posters with grain, or poor quality (but high resolution) photos with lots of sensor noise.

[-] ekZepp@lemmy.world 5 points 4 months ago
[-] UltraGiGaGigantic@lemmy.ml 4 points 4 months ago

I'm a caveman with a computer, can this be automated somehow,

[-] sirico@feddit.uk 5 points 4 months ago

One convert Vs 1000s makes sense to pipe it into the upload process

[-] ekZepp@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

...more like 1 vs 300k, but you're right. 👍

[-] Irelephant@lemm.ee 3 points 4 months ago

I usually compress my images now. Or zoom out and take a screenshot.

[-] SplashJackson@lemmy.ca 1 points 4 months ago

Webp sucks especially when you're downloading porn

this post was submitted on 19 Feb 2025
217 points (100.0% liked)

Fediverse memes

1554 readers
112 users here now

Memes about the Fediverse.

Rules

General
Specific

Elsewhere in the Fediverse

Other relevant communities:

founded 9 months ago
MODERATORS