2 ms·
> i was trying to use the hash directly, and kept being constrained by the amount of available data. Too much data from the hash? It seems like a 256-bit SHA-2
by cpeterso 15y ago
> i was trying to use the hash directly, and kept being constrained by the amount of available data.
Too much data from the hash? It seems like a 256-bit SHA-2 hash could map 1:1 onto a 16x16 pixel icon, giving you 24-bits of color depth per pixel to encode each hash bit in a non-ugly way.
- andrewcooke 15y agothe approach i use gives the "same" image, even when pixel sizes and numbers change.