frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

PNG and modern formats: A comparison of lossless compression for graphics images

https://op111.net/posts/2025/10/png-and-modern-formats-lossless-image-compression/
2•demetris•3mo ago

Comments

demetris•3mo ago
Author here.

I ran benchmarks comparing PNG, AVIF, HEIF, JPEG XL, and WebP for lossless compression of graphics images. Tested with 14 images.

The results are also available in a TXT file:

https://op111.net/files/2025/10/op111-20251015-png-modern-fo...

...and in a Google Sheets document:

https://docs.google.com/spreadsheets/d/1mwaHeIsDrNhE3NTKtszK...

Cheers!

PaulHoule•3mo ago
The takeaway I take from that is that "AVIF sux" which is my general feeling about AVIF.

My own interest is in publishing images that I took with my DSLR and having them look like images I took from my DSLR. People like to show me

https://jakearchibald.com/2020/avif-has-landed/

to prove I'm wrong. It's true that the AVIF image is small doesn't have the obvious blocking artifacts that JPEG and WebP but if you look really close at the reflections on the upper wing of the car it looks like the AVIF just made up some probable-looking blobs of light that don't look that much like the original if you look really closely.

The thing is a video codec doesn't have to be good for images. For instance a single frame of a VHS video looks atrocious but an actual video on VHS isn't that bad.

When I tried to use AVIF to make files of the quality I wanted, I didn't see a clear benefit over WebP and to the contrary I came to the conclusion that WebP was a good drop-in replacement for JPEF for my application. If I wanted to make a big splash image for my web site that didn't have to hold up to close inspection though, AVIF's compression ratio is really high.

demetris•3mo ago
:-)

My interest in doing the benchmarks was the other thing:

Seeing what the options are these days for the types of image PNG was designed for.

As the results started accumulating, I wasn’t sure I should include all formats in the post and in the TXT file and the spreadsheet, because testing them at what they were not designed for did not seem fair.

Do you think I should add something stronger or more prominent to my intro to explain this?

PaulHoule•3mo ago
Here's my take as a web developer from that article, who primarily cares about formats widely supported by web browsers.

For most purposes where I might use a PNG I might use a lossless WebP now because it seems like lossless WebP beats PNG pretty solidly. My take also is that WebP is a good JPEG replacement.

JPEG XL usually does better but practically that doesn't matter much because I think the only web browser that supports it is Safari

https://caniuse.com/?search=jpeg+xl

Of course there is a lot of politics around JPEG XL, specifically Google doesn't want us to have it and they're a monopolist so we can't have it. If there is any chance we're going to change that we're going to have document that JPEG XL really is better than the alternatives and your article does that.

Show HN: I decomposed 87 tasks to find where AI agents structurally collapse

https://github.com/XxCotHGxX/Instruction_Entropy
1•XxCotHGxX•1m ago•1 comments

I went back to Linux and it was a mistake

https://www.theverge.com/report/875077/linux-was-a-mistake
1•timpera•2m ago•1 comments

Octrafic – open-source AI-assisted API testing from the CLI

https://github.com/Octrafic/octrafic-cli
1•mbadyl•4m ago•1 comments

US Accuses China of Secret Nuclear Testing

https://www.reuters.com/world/china/trump-has-been-clear-wanting-new-nuclear-arms-control-treaty-...
1•jandrewrogers•5m ago•0 comments

Peacock. A New Programming Language

1•hashhooshy•9m ago•1 comments

A postcard arrived: 'If you're reading this I'm dead, and I really liked you'

https://www.washingtonpost.com/lifestyle/2026/02/07/postcard-death-teacher-glickman/
2•bookofjoe•10m ago•1 comments

What to know about the software selloff

https://www.morningstar.com/markets/what-know-about-software-stock-selloff
2•RickJWagner•14m ago•0 comments

Show HN: Syntux – generative UI for websites, not agents

https://www.getsyntux.com/
3•Goose78•15m ago•0 comments

Microsoft appointed a quality czar. He has no direct reports and no budget

https://jpcaparas.medium.com/ab75cef97954
2•birdculture•15m ago•0 comments

AI overlay that reads anything on your screen (invisible to screen capture)

https://lowlighter.app/
1•andylytic•16m ago•1 comments

Show HN: Seafloor, be up and running with OpenClaw in 20 seconds

https://seafloor.bot/
1•k0mplex•17m ago•0 comments

Tesla turbine-inspired structure generates electricity using compressed air

https://techxplore.com/news/2026-01-tesla-turbine-generates-electricity-compressed.html
2•PaulHoule•18m ago•0 comments

State Department deleting 17 years of tweets (2009-2025); preservation needed

https://www.npr.org/2026/02/07/nx-s1-5704785/state-department-trump-posts-x
2•sleazylice•18m ago•1 comments

Learning to code, or building side projects with AI help, this one's for you

https://codeslick.dev/learn
1•vitorlourenco•19m ago•0 comments

Effulgence RPG Engine [video]

https://www.youtube.com/watch?v=xFQOUe9S7dU
1•msuniverse2026•20m ago•0 comments

Five disciplines discovered the same math independently – none of them knew

https://freethemath.org
4•energyscholar•21m ago•1 comments

We Scanned an AI Assistant for Security Issues: 12,465 Vulnerabilities

https://codeslick.dev/blog/openclaw-security-audit
1•vitorlourenco•22m ago•0 comments

Amazon no longer defend cloud customers against video patent infringement claims

https://ipfray.com/amazon-no-longer-defends-cloud-customers-against-video-patent-infringement-cla...
2•ffworld•22m ago•0 comments

Show HN: Medinilla – an OCPP compliant .NET back end (partially done)

https://github.com/eliodecolli/Medinilla
2•rhcm•25m ago•0 comments

How Does AI Distribute the Pie? Large Language Models and the Ultimatum Game

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6157066
1•dkga•26m ago•1 comments

Resistance Infrastructure

https://www.profgalloway.com/resistance-infrastructure/
3•samizdis•30m ago•1 comments

Fire-juggling unicyclist caught performing on crossing

https://news.sky.com/story/fire-juggling-unicyclist-caught-performing-on-crossing-13504459
1•austinallegro•31m ago•0 comments

Restoring a lost 1981 Unix roguelike (protoHack) and preserving Hack 1.0.3

https://github.com/Critlist/protoHack
2•Critlist•32m ago•0 comments

GPS and Time Dilation – Special and General Relativity

https://philosophersview.com/gps-and-time-dilation/
1•mistyvales•36m ago•0 comments

Show HN: Witnessd – Prove human authorship via hardware-bound jitter seals

https://github.com/writerslogic/witnessd
1•davidcondrey•36m ago•1 comments

Show HN: I built a clawdbot that texts like your crush

https://14.israelfirew.co
2•IsruAlpha•38m ago•2 comments

Scientists reverse Alzheimer's in mice and restore memory (2025)

https://www.sciencedaily.com/releases/2025/12/251224032354.htm
2•walterbell•41m ago•0 comments

Compiling Prolog to Forth [pdf]

https://vfxforth.com/flag/jfar/vol4/no4/article4.pdf
1•todsacerdoti•42m ago•0 comments

Show HN: Cymatica – an experimental, meditative audiovisual app

https://apps.apple.com/us/app/cymatica-sounds-visualizer/id6748863721
2•_august•43m ago•0 comments

GitBlack: Tracing America's Foundation

https://gitblack.vercel.app/
15•martialg•43m ago•1 comments