av1-avif VS jxl.js

Compare av1-avif vs jxl.js and see what are their differences.

av1-avif

AV1 Image File Format Specification - ISO-BMFF/HEIF derivative (by AOMediaCodec)

jxl.js

JPEG XL decoder in JavaScript using WebAssembly (WASM) (by niutech)
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
av1-avif jxl.js
25 25
437 296
0.0% -
0.0 0.0
over 1 year ago about 1 year ago
HTML JavaScript
BSD 2-clause "Simplified" 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.

av1-avif

Posts with mentions or reviews of av1-avif. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-16.
  • FSF Slams Google over Dropping JPEG-XL in Chrome
    10 projects | news.ycombinator.com | 16 Apr 2023
    The article is about avif not webp. Note the editors for the AOM avif specification don't even include Google https://aomediacodec.github.io/av1-avif/
  • Whistleblowers Take Note: Don’t Trust Cropping Tools
    2 projects | news.ycombinator.com | 14 Feb 2023
    This reminds me of something similar from the guy who implemented AVIF in Firefox. He gives a talk about the implementation [1] where he talks about the CLAP privacy problem. Basically the spec adds a field that allows for cropping of the image, but the binary file would still contain the original. This would lead users to believe some image data was deleted when it really wasn't. I always thought he spent a lot of time and effort on this for little gain, but now I'm starting to think it was worth his effort.

    [1]: https://youtu.be/BUkRlfkv2D8?t=2199

    And the related GitHub issue: https://github.com/AOMediaCodec/av1-avif/issues/188

  • AVIF images encoded with yuv422 appear black on iOS 16 / MacOS Ventura
    3 projects | /r/AV1 | 2 Nov 2022
    So actually the same images I linked above are in the AOMediaCodec repo as well, under Link-U: https://github.com/AOMediaCodec/av1-avif/tree/master/testFiles/Link-U And I see the same issue with the yuv422 images there as well. I'm guessing Apple's AVIF implementation must be incomplete?
  • JPEG-XL Sample HDR Photos
    1 project | news.ycombinator.com | 21 Oct 2022
  • Questions about AVIF metadata for PQ HDR mastering & tonemapping
    1 project | /r/AV1 | 22 Jul 2022
  • What is AVIF?
    6 projects | dev.to | 26 Apr 2022
    Created by Alliance for Open Media and worked on by Netflix, Microsoft, and Google developers, AVIF is open source - you can even weigh in on image processing and spec issues.
  • We need to rethink AVIF lossless mode.
    1 project | /r/AV1 | 19 Dec 2021
  • How can HDR AVIF stills be created?
    2 projects | /r/AV1 | 26 Jun 2021
    I've been trying to find a way edit 14bit RAW files (.ARW) to an HDR capable format (HEIF/AVIF). In the process I found out there's an official AVIF encoder (1) by AOM that seems like it should be capable of creating HDR PQ stills.
  • HDR AVIF samples (HDR10 for still images)
    1 project | /r/AV1 | 4 Jun 2021
    Others samples are available here : https://github.com/AOMediaCodec/av1-avif/tree/master/testFiles/Netflix/avif
  • Question: Multiscale AVIF performance?
    1 project | /r/AV1 | 2 Jun 2021
    AVIF can do something that resembles hierarchical JPEG and that could be useful for progressive decoding: you can have multiple layers/scales, where e.g. first a 1:4 image is encoded, then residuals to get to 1:2, then residuals to get to 1:1. Examples of this were recently added to the AVIF spec: https://github.com/AOMediaCodec/av1-avif/pull/134

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 av1-avif and jxl.js you can also consider the following projects:

ImageMagick - 🧙‍♂️ ImageMagick 7

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

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

chromium - The official GitHub mirror of the Chromium source

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

brunsli - Practical JPEG Repacker

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

webp - webp for the Windows build of ImageMagick

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