frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

JPEG XL vs. AVIF for web use-cases

https://jakearchibald.com/2026/jpeg-xl-vs-avif/
37•farlight•1h ago

Comments

shmerl•29m ago
I think one overlooked aspect is that AVIF is container based. Meaning that once sites support, when AV2, AV3 etc. will come out, there won't be a need to go through another very difficult phase of sites adoption - it will still be AVIF just with newer codec inside, and it will be just up to browsers to catch up on newer versions and newer codecs will address technical needs as times goes.

JPEG XL doesn't have that benefit, while sites adoption is arguably a worse issue than browser adoption.

To demonstrate the point even for AVIF itself - it has been in the browsers for a while. Can you use it on common sites? Good luck if you can, even major sites like GitHub and GitLab have issues with it due to some site code depending on hardcoded list of known formats or other similar problems.

pornel•7m ago
The container is useless. Files based on a newer codec won't display anyway.

ISO-BMFF container is bloated and needlessly complicated. AVIF decoders didn't even want to reuse existing MP4 libraries for it due to all the baggage it brings, and implemented their own minimal parsers.

AVIF would have been better off with a simple wrapper similar to RIFF/PNG or extending AV1's own OBU header (which for inexplicable reason gets its data duplicated inside the HEIF container and then implementations are required to verify that both copies agree!)

I hope AVIF will skip AV2. We don't need yet another almost-identical format to migrate to.

arendtio•7m ago
Can someone please explain the downvotes?
theandrewbailey•2m ago
[delayed]
quentindanjou•26m ago
Great article!

Overall I am getting that AVIF is better on the web...unless Lossless is needed, in that case better take JPEGXL.

dc3k•25m ago
I really hope that some day Firefox supports HDR AVIF images
jaffathecake•4m ago
It's not AVIF that's the issue, the blocker is supporting HDR in general.
phoronixrly•24m ago
Ah, Chrome ships JXL when we already have a better codec for the web!
lern_too_spel•13m ago
PDF standardized on JPEG XL, and Chrome ships with a PDF renderer.
0xy•16m ago
AVIF is a lifesaver for animation with separate transparency layers so the transparency can change position frame by frame. The only other alternative is WebM which has Safari limitations.
adzm•9m ago
Is there an advantage to this as a separate layer compared to just having an alpha channel baked into the image data itself? If not premultiplied then it would not affect the other channels either.
jaffathecake•3m ago
But the performance is so bad it isn't worth using. You're better off encoding a double height AV1 and mashing it together with WebGL https://jakearchibald.com/2024/video-with-transparency/. That's how bad the situation is.
adzm•11m ago
> AVIF is basically the keyframe format of AV1 video, with a bunch of still-image-specific optimisations thrown in. Animated AVIF however, is pretty much just a repackaging of AV1 video. You can convert an AV1 MP4 to AVIF and back losslessly - it's just a container change. That's why it performs so much better, because it's built for motion.

So, is animated AVIF only keyframes / p-frames, where each frame is independent from the other? I was under that impression, uncertain if there are any other capabilities it might have (like only updating part of the canvas when only parts change, like GIF supports)

jaffathecake•6m ago
No. I used to think this too, but it isn't limited to keyframes.You can convert an AV1 MP4 to AVIF and back losslessly - even if it has non-keyframes. It's just a different container. It has the full AV1 capability. Plus transparency.
adzm•7m ago
JPEG transcoding is one of the neatest features of JXL; there is so much existing jpeg out there. Eventually that may be unnecessary, but it's looking like this could already save a significant amount of space for photo archive backups for example.
Theodores•3m ago
Jake's interest in F1 hasn't waned, which is good to see. I am presuming that picture of an Alpine/Renault at Goodwood is his 18Mb photo, but I could be wrong. Neither has his interest im image compression waned, which is also good to see. But why the move from Google to Firefox?

I am still on webp, thinking that I am on the bleeding edge in a world where artworkers are obsessed with pixels with JPG/PNG as the only formats they know, which is an advance on GIF.

Every browser advertises what formats it will accept and if it is in 'data-saving, low bandwidth mode', so I just configure the CDN to keep the names the same '.jpg' but to send the bestest format for the situation/browser, whether that be webp or AVIF, fetching super-high resolution files from the origin server, outputting them in 'retina' resolution with none of those 'picture' elements referencing half a dozen 'responsive' sizes.

In this way nobody has to care what image format is being served, and if it is deemed that everything is way too compressed, the CDN can be flushed of the cached images, quality increased, and cache rebuilt.

It looks like I will need to update my server configuration to use JPEG XL in the usual five years' time, given the lack of any revolutionary benefit.

Data center interests have put $30M into Florida campaigns

https://jasongarcia.substack.com/p/data-center-interests-have-put-30
1•pd33•5m ago•0 comments

Running Doom Inside a Transformer

https://nostalgia.dev/posts/running-doom-inside-a-transformer/
2•stmonty•5m ago•0 comments

Permeate: Visual CSS Editor

https://chromewebstore.google.com/detail/permeate-live-css-editor/lanehakcodmhlieafffmpamioeddiejd
1•longforshort•6m ago•0 comments

The AI doomers are going off on Anthropic's revenue figures

https://www.businessinsider.com/anthropic-revenue-ipo-ai-doomer-tech-investing-2026-10
2•arealaccount•6m ago•0 comments

90% of US working hours are spent on tasks not covered well by AI benchmarks

https://www.mercor.com/research/labor-index/benchmark-map/
1•speckx•6m ago•1 comments

Bandedness Propagation Analysis of Tensor Compilers [pdf]

https://homepages.dcc.ufmg.br/~fernando/publications/papers/SeliayeuCGO27.pdf
1•matt_d•6m ago•0 comments

Build a Scrollspy with Modern CSS: No JavaScript Needed

https://blog.master.dev/building-a-fancy-scrollspy-using-modern-css/
1•ibobev•7m ago•0 comments

Unlocking SVG Styling Control with CSS Linked Parameters

https://blog.master.dev/svg-linked-parameters-will-change-how-we-do-icon-systems/
2•ibobev•7m ago•0 comments

Show HN: Reelbird, an open-source Loom and Screen Studio alternative for macOS

https://github.com/btahir/reelbird
2•bilater•7m ago•0 comments

Getting Started with TanStack AI: Setup and Basics

https://blog.master.dev/unlocking-ai-in-your-apps-with-tanstack-ai/
1•ibobev•8m ago•0 comments

Show HN: Family Internet Speed Game

https://guessthespeed.com/
1•qainsights•11m ago•0 comments

The Diesel Weapon

https://edconway.substack.com/p/the-diesel-weapon
1•speckx•14m ago•0 comments

TrustedRouter: OpenRouter challenger closes seed round

https://www.semafor.com/article/10/16/2026/openrouter-challenger-closes-seed-round
1•jlaneve•15m ago•0 comments

Remote Attestation Should Not Be Tolerated

https://lumi.codeberg.page/blog/remote-attestation.html
1•HotGarbage•15m ago•0 comments

Citi restricts AI agents from accessing customer accounts

https://cryptobriefing.com/citi-restricts-ai-agents-customer-accounts/
1•pseudolus•15m ago•0 comments

Katie Zacharia admits she never passed the bar exam

https://www.theguardian.com/us-news/live/2026/oct/16/trump-texas-senate-race-midterms-paxton-tala...
1•Betelbuddy•16m ago•0 comments

/dev/null: social network for developers

https://dev-null.sh
22•mnapoli•17m ago•11 comments

A common-sense fix for poverty, inequality, fascism: Economist ditches ideology

https://www.theguardian.com/business/2026/oct/16/isabella-weber-anti-fascist-economics
2•Geekette•17m ago•0 comments

Show HN: Toolbit – 43 local-first developer utilities in one place

https://toolbit.app/
2•alwinaugustin•19m ago•1 comments

Post About Recreating Adobe Tools Using AI Banned per Adobe Request

https://www.reddit.com/r/Bard/comments/1wxmqpt/ive_created_open_source_100_rust_cleanroom/
3•joering2•19m ago•1 comments

Coopiano – physically modelled piano synthesizer

https://github.com/peterc/coopiano
1•hggh•22m ago•0 comments

The Gradient Is a Covariance

https://richardli.xyz/post/gradient-is-covariance/
1•gmays•22m ago•0 comments

Beijing seeks tighter grip on AI exports amid US rivalry

https://www.reuters.com/world/asia-pacific/china-proposes-adding-40-ai-biotech-solar-technologies...
3•jacquesm•24m ago•0 comments

RVUtils – browser-only developer tools, nothing is uploaded

https://rvutils.com/en/json/
1•krishbusinessso•24m ago•0 comments

Thirty Years of KDE

https://blog.cornelius-schumacher.de/2026/10/thirty-years-of-kde.html
2•jandeboevrie•25m ago•0 comments

AI-Generated Starling Desktop Environment Rolls Out Its Own Office Suite

https://www.phoronix.com/news/AI-Starling-Desktop-Office
1•starlingos•25m ago•0 comments

Giving Video Game NPC's Consciousness

https://www.youtube.com/watch?v=EOfm3h4xYU8
1•j_maffe•26m ago•0 comments

190k Star Systems and a Million Planets: Building GalaxyAtlas with AI Agents

https://galaxyatlas.space/
1•YaroslavKloch•26m ago•0 comments

iOS 27 untethered jailbreak on iPhone 18 Pro

https://twitter.com/calif_io/status/2111080240978223545
2•ea016•26m ago•0 comments

Meta may use new commercial TOS to avoid millions in AI licensing fees

https://arstechnica.com/tech-policy/2026/10/meta-may-use-sweeping-new-commercial-tos-to-avoid-mil...
2•pseudolus•27m ago•0 comments