News for hackers. Stuff that matters.
Re:BlurHash: Algorithm to generate compact representation of... by DagAgren on Thursday February 20, 2020 @09:37AM (#22375338)
This is a tempting idea, but as was already pointed out, the problem is not the character set, but that similar images will encode to the same string.

Anyway, chances are you are already storing a filename in your database, so you would need a second field for the blurhash string.

Re:BlurHash: Algorithm to generate compact representation of... by mzs on Thursday February 20, 2020 @02:05PM (#22377633)

  assets/example.png/LEHV6nWB2yk8pyoJadR*.7kCMdnj
  assets/example.jpg/LEHV6nWB2yk8pyoJadR*.7kCMdnj
Re:BlurHash: Algorithm to generate compact representation of... by presumably on Thursday February 20, 2020 @04:43PM (#22378934)
s/g\//g#/

    assets/example.png#LEHV6nWB2yk8pyoJadR*.7kCMdnj
    assets/example.jpg#LEHV6nWB2yk8pyoJadR*.7kCMdnj
No need to send the extra data to the server for each request.