Skip to content

Conversation

@rafal0p
Copy link
Collaborator

@rafal0p rafal0p commented Jul 23, 2025

I tried to use current implementation, but with no luck. So I decided to ask AI to reimplement it for me, which it hereby done.

I verified it not only by unit tests, but also by comparing results with the "official" images on https://blurha.sh. The results are not identical but close enough to my taste. An example (https://blurha.sh/e08adedc9f82ade9f9d5.jpg):

  • original image:
image
  • official blurhash LGF5?xYk^6#M@-5c,1J5@[or[Q6.:
image
  • blurhash generated by code in this PR LGFFaWYk^6#M@-5c,1J5@@or[j6o:
image

Copy link
Owner

@perzanko perzanko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@perzanko perzanko merged commit a8f2c0c into perzanko:master Jul 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants