libjxl VS jxl.js

Compare libjxl vs jxl.js and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
libjxl jxl.js
85 25
2,236 296
28.2% -
9.8 0.0
about 15 hours ago about 1 year ago
C++ JavaScript
BSD 3-clause "New" or "Revised" License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

libjxl

Posts with mentions or reviews of libjxl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-01.
  • JPEG XL and Google's War Against It
    1 project | news.ycombinator.com | 2 May 2024
    > Regarding JPEG XL's mobile support, it makes sense it would see limited development if the company that manages one of the biggest mobile players has been the greatest restriction on their success. The lack of support also disincentivises manufacturers to prioritise support.

    There was literally no involvement from any hardware vendor in the standardization of JPEG XL. It went from a Call for Proposals in Sept 2018 to Committee Draft in Aug 2019 with very little time for industry feedback. Contrast this with AV1 which had involvement from hardware vendors Intel, NVIDIA, Arm, AMD, Broadcom, Amlogic from the beginning as well as companies who ship media on hardware at scale such as Cisco, Netflix, Samsung and yes Google. These companies reviewed and provided significant feedback on the format that made it suitable for hardware implementation.

    https://news.ycombinator.com/threads?id=JyrkiAlakuijala is a lead on the project and a Google employee, and active in JPEG XL development https://github.com/libjxl/libjxl/commits?author=jyrkialakuij...

  • JPEG XL Reference Implementation
    1 project | news.ycombinator.com | 4 Apr 2024
  • JPEG XL and the Pareto Front
    9 projects | news.ycombinator.com | 1 Mar 2024
    https://github.com/libjxl/libjxl/blob/main/doc/format_overvi... is a pretty detailed but good overview. The highlights are variable size DCT (up to 128x128), ANS entropy prediction, and chroma from luminance prediction. https://github.com/libjxl/libjxl/blob/main/doc/encode_effort... also gives a good breakdown of features by effort level.
  • Compressing Text into Images
    4 projects | news.ycombinator.com | 14 Jan 2024
    For JPEG XL, refer to its format overview [1]. In short its lossless mode uses a combination of multiple techniques: the rANS coding with an alias table, LZ77, reversible color transforms, a general vector quantization that subsumes palettes, a modified Haar transform and a learnable meta-adaptive decision tree for context modelling.

    One good thing about JPEG XL is that its lossy mode also largely uses the same tool, with a major addition of specialized quantization and context modelling for low- and high-frequenty components.

    [1] https://github.com/libjxl/libjxl/blob/main/doc/format_overvi...

  • JPEG XL v0.9.0 Released
    1 project | news.ycombinator.com | 23 Dec 2023
  • Stripping Metadata
    1 project | /r/jpegxl | 19 Oct 2023
    The cjxl source is here. If you spot any reason why -x strip=exif may not work, tell me.
  • Www Which WASM Works
    2 projects | news.ycombinator.com | 24 Sep 2023
    The problem is that the instructions for actually running the WASM file are not that clear... the docs the author mentions shows how to compile to WASM, which is easy enough, but then here's the instructions to make that actually work in the browser:

    https://github.com/libjxl/libjxl/blob/main/tools/wasm_demo/R...

    Yeah, you need some mysterious Python script, a JS service worker at runtime, choose whether you want the WASM or WASM_SIMD target, use a browser that supports Threads and SIMD if you chose that, make sure to serve everything with the appropriate custom HTTP headers... just reading that, I can see that to get this stuff working on non-browser WASM targets would likely require expertise in WASM, which is the point of the OP. WASM's UX is just not there yet.

  • First automatic JPEG-XL cloud service
    2 projects | news.ycombinator.com | 19 Sep 2023
    https://github.com/libjxl/libjxl#usage

    > Specifically for JPEG files, the default cjxl behavior is to apply lossless recompression and the default djxl behavior is to reconstruct the original JPEG file (when the extension of the output file is .jpg).

  • Why "sudo make install"?
    1 project | /r/linux | 16 Sep 2023
    I mean compiling a bleeding edge kicad, inkscape or jpeg-xl is easy. But will probably trash your system if you already have an older version installed.
  • XYB JPEG: Perceptual Color Encoding Tested
    2 projects | news.ycombinator.com | 20 Jul 2023
    But you look at your image viewer that could have the lossless indicator? (and there is an issue open to add this indicator to the jxl files)

    https://github.com/libjxl/libjxl/issues/432

jxl.js

Posts with mentions or reviews of jxl.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-01.
  • JPEG XL and the Pareto Front
    9 projects | news.ycombinator.com | 1 Mar 2024
    > It's so frustrating how the chromium team is ending up as a gatekeeper of the Internet by pick and choosing what gets developed or not.

    https://github.com/niutech/jxl.js is based on Chromium tech (Squoosh from GoogleChromeLabs) and provides an opportunity to use JXL with no practical way for Chromium folks to intervene.

    Even if that's a suboptimal solution, JXL's benefits supposedly should outweight the cost of integrating that, and yet I haven't seen actual JXL users running to that in droves.

    So JXL might not be a good support for your theory: where people could do they still don't. Maybe the format isn't actually that important, it's just a popular meme to rehash.

  • Still no love for JPEG XL: Browser maker love-in snubs next-gen image format
    7 projects | news.ycombinator.com | 4 Feb 2024
    https://github.com/niutech/jxl.js a javascript polyfill taken from the main page https://jpegxl.info/

    There are other decoders [0] written in a "safe language" (rust) listed as well. So no there are many "safe" implementations

    [0] https://github.com/tirr-c/jxl-oxide

  • CVE-2023-4863: Heap buffer overflow in WebP (Chrome)
    18 projects | news.ycombinator.com | 12 Sep 2023
  • Apple Safari 17 beta release notes: JPEG XL support added
    1 project | news.ycombinator.com | 7 Jun 2023
    > If you care about JXL, and only want to support JXL, and you put a JXL in your picture tag, then the browser still won't render it, even if you use a picture tag.

    Is this true if you provide a polyfill? Have you tried it and it failed? (Serious question.)

    https://github.com/niutech/jxl.js

  • FSF Slams Google over Dropping JPEG-XL in Chrome
    10 projects | news.ycombinator.com | 16 Apr 2023
    All of the people here who are so passionate about JPEG-XL will be happy to learn that there's nothing preventing them from using it on their sites right now:

    https://github.com/niutech/jxl.js

    If you want Chrome to ship with JPEG-XL support, use it. At some point, browser makers will decide it's worth the cost to them and all users to add it.

  • Nvenc vs. QSV: Who Has the Best Hardware AV1 Encoder?
    3 projects | news.ycombinator.com | 16 Apr 2023
    > Please be aware that some images may not load on this page unless your browser supports JPEG-XL

    The site could provide a WebAssembly decoder to make the JPEG-XL images work for everyone.

    For example, here's a WebAssembly decoder: https://github.com/niutech/jxl.js

    Demo: https://niutech.github.io/jxl.js/

  • Question: Is there a list anywhere of which browsers support JPG-XL by default?
    2 projects | /r/jpegxl | 27 Jan 2023
    at this point, I'd consider just using a polyfill library to decode jpegxl data client-side, like JXL https://github.com/niutech/jxl.js
  • Efficient and performance-portable vector software
    4 projects | news.ycombinator.com | 10 Jan 2023
    :) There are some wasm vs native benchmarks in the context of JPEG XL (for example https://github.com/niutech/jxl.js#benchmark)
  • Adding JPEG XL & QOI Support to my Website OS
    3 projects | dev.to | 29 Dec 2022
    For adding JPEG XL support I went with jxl.js which I modified for my use case. After looking through the main file, which is also called jxl.js, I decided I only needed 2 relevant code blocks. The one to decode the image and the one to turn the ImageData into something I could display in my existing codebase (which I already partially had implemented for another use case).
  • JXL.js decoder now features multithreading and SIMD
    2 projects | /r/jpegxl | 12 Dec 2022
    It's easy - you'll get ReferenceError: SharedArrayBuffer is not defined when the COOP and COEP headers are not set. Multithreading is enabled by default if you use the scripts from multithread folder. If only SIMD is supported, it is being used. Oh, and progressive decoding is also enabled by default.

What are some alternatives?

When comparing libjxl and jxl.js you can also consider the following projects:

qoi - The “Quite OK Image Format” for fast, lossless image compression

jxl-wasm - WebAssembly-compiled JPEG XL command line tool for Node.js

Android-Image-Filter - some android image filters

ImageMagick - 🧙‍♂️ ImageMagick 7

DirectXMath - DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps

jpeg-xl - jpeg-xl for the Windows build of ImageMagick

libavif - libavif - Library for encoding and decoding .avif files

squoosh - Make images smaller using best-in-class codecs, right in the browser.

jxl-migrate - A simple Python script to migrate images to the JPEG XL (JXL) format

libiamf - Reference Software for IAMF

node-unblocker - Web proxy for evading internet censorship, and general-purpose Node.js library for proxying and rewriting remote webpages