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. …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
  3. …main author of this. Also make sure to check out the README on Github for more technical details! https://github.com/woltapp/blurhash
  4. 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.)
  5. 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…