Hacker GitHub

← All repos

woltapp/blurhash

View on GitHub ↗ ★ 17,083 C

A very compact representation of a placeholder for an image.

8 mentions on Hacker News by 6 people: 3 stories, 5 comments · first 2020-02-20 · latest 2022-11-04

Mentions per year 8 mentions · busiest year 2020 (6)
20082026
  1. The amount of work it takes to decode an image is incredibly tiny by today's standards: https://github.com/woltapp/blurhash/blob/master/C/decode.c
  2. ▲ 215
    Blurhash: A compact representation of a placeholder for an image
    story by notmysql_ · 2022-11-04 · 51 comments
  3. ▲ 2
    Blurhash: A compact representation of a placeholder for an image
    story by melzarei · 2020-10-16 · 0 comments
  4. ▲ 1
    BlurHash – a compact representation of a placeholder for an image
    story by feross · 2020-04-16 · 0 comments
  5. …component, and a bunch of waves that make up the detail of the image, referred to as AC components. https://github.com/woltapp/blurhash/blob/master/Algorithm.md
  6. …main author of this. Also make sure to check out the README on Github for more technical details! https://github.com/woltapp/blurhash
  7. That choice is explained in the README: https://github.com/woltapp/blurhash (83 is about as many safe characters as you can reasonably find, and it allows some nice ways of packing values together.)
  8. They mention it's a custom version of base83: https://github.com/woltapp/blurhash/blob/master/Algorithm.md... With this charset: 0123456789ABCDEFGHIJKLMNOPQ RSTUVWXYZabcdefghijklmnopqr stuvwxyz#$%*+,-.:;=@[]^_{|}~. I imagine you could…