-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support JPEG XL #11
Comments
Yep this is possible and I'm willing to work on it once I gain enough knowledge about encoding with jxl. |
image-rs/image#1765 Related issues. I do not want to do any custom encoding / decoding right now to keep the codebase simple and easy to understand. If it does get implemented in image-rs then I'd be more than happy to expose libwayshot API calls for JXL. |
Yeah, JPEG XL is the real deal, especially with the recent 0.10 speedups of reference https://cloudinary.com/blog/jpeg-xl-and-the-pareto-front My quick tests show that using is really-really fast (Hyprland, wayshot compiled with
|
That doesn't seem very fast from the numbers shown -- again I might be mistaken in my interpretation. |
There are a few While jxl is cool, it shines brighter when encoding complex stuff like real world photos in high resolution, like shown in the article. And in lossy but visually lossless scenarios. If we implement png optimization, then jxl gets less attractive for desktop screenshot case. Still an image format to look at, because it's like jpeg, but better in everything, and with lossless mode. Just needs more time and adoption (hello, Google Chrome). |
If I understand correctly, wayshot by default save files as
png
and we can save asjpg
extension too. I don't know if this is possible or would be enchantment you wanted in your project, but saving screenshots as JPEG XL (jxl) files would be awesome.Very nice project!
The text was updated successfully, but these errors were encountered: