43
submitted 1 month ago by jaykrown@lemmy.world to c/general@lemmy.world

That's about a 50% reduction in size, lossless, zero reduction in quality or change to pixels from lossless PNG to lossless JXL.

So the browser tools i built basically serves you the tools to easily convert stuff without needing to know anything about libjxl.

The JPEG reconstruction is the most interesting thing, you're taking a lossy JPEG, converting it to lossless JPEG XL, and you're seeing a 20% reduction in size while preserving that compression data.

you are viewing a single comment's thread
view the rest of the comments
[-] testEmailVerified@lemmy.world 10 points 1 month ago

Lemmy already supports webp through pictrs.

you can get a webp format image for every image uploaded.

Not against jpegxl though. But argument isn't as strong since jpegxl is prob more of tradeoff against it

[-] jaykrown@lemmy.world 7 points 1 month ago

Thanks for replying, I think it's still very worthwhile to support JPEG XL even while WebP exists given that WebP is technologically inferior to JPEG XL in almost every way.

[-] testEmailVerified@lemmy.world 5 points 1 month ago* (last edited 1 month ago)

I took a look and Pictrs already should support JXL (jpeg xl)

I believe it already works, all though unable to confirm this as I dont have anything atm that can display JXL.

https://lemmy.world/pictrs/image/64d7f66d-04f0-4c9d-8893-f05304feb431.webp?format=jxl&thumbnail=512

^ even though the above says .webp it should be a jxl format image

see this for the default format https://git.asonix.dog/asonix/pict-rs/src/branch/main/pict-rs.toml#L347

But tbh i doubt the default format will change soon bc JXL support is very poor. No android device supports it yet. and the latest browsers only in beta. Only apple side it seems to have some support already.

[-] jaykrown@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

Yea this is diplaying in the UI for me, why does it requre the .webp?format=jxl instead of just being .jxl? Seems weird. If you want something that can display JPEG XL you can use chromium and go to chrome://flags/#enable-jxl

this post was submitted on 10 Aug 2026
43 points (95.7% liked)

General Discussion

14666 readers
1 users here now

Welcome to Lemmy.World General!

This is a community for general discussion where you can get your bearings in the fediverse. Discuss topics & ask questions that don't seem to fit in any other community, or don't have an active community yet.


🪆 About Lemmy World


🧭 Finding CommunitiesFeel free to ask here or over in: !lemmy411@lemmy.ca!

Also keep an eye on:

For more involved tools to find communities to join: check out Lemmyverse!


💬 Additional Discussion Focused Communities:


Rules and Policies

Remember, Lemmy World rules also apply here.0. See: Rules for Users.

  1. No bigotry: including racism, sexism, homophobia, transphobia, or xenophobia.
  2. Be respectful. Everyone should feel welcome here.
  3. Be thoughtful and helpful: even with ‘silly’ questions. The world won’t be made better by dismissive comments to others on Lemmy.
  4. Link posts should include some context/opinion in the body text when the title is unaltered, or be titled to encourage discussion.
  5. Posts concerning other instances' activity/decisions are better suited to !fediverse@lemmy.world or !lemmydrama@lemmy.world communities.
  6. No Ads/Spamming.
  7. No NSFW content.

founded 3 years ago
MODERATORS