Hacker News new | ask | show | jobs
by gforce_de 20 days ago
interesting! 147 bytes for 128x128 pixels are ~0.096 bpp (bits/pixel).

Everything above 153x153 pixels is too small (!) to count as LQIP (lighthouse).

The "normal" way would be to use a 0.05+ bpp WEBP-image as LQIP,

which has ~600 bytes, but looks MUCH better and is widely supported:

https://show.quicky.club/results/cb/1f/a5/ddbacee070083ac5f7...

  $ echo "(8*147)/(154*154)" | bc -l
  .04958677685950413223
@dmit - please check your HTML (w3c validator is unhappy): https://nigeltao.github.io/blog/2026/wasm-handsum-example/ This is just invalid: '... width="128px" height="128px" ...'*
1 comments

Hi, author here. Thanks for the "check your HTML" bug report.