Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider switching from BlurHash to ThumbHash #24217

Open
afontenot opened this issue Mar 22, 2023 · 1 comment
Open

Consider switching from BlurHash to ThumbHash #24217

afontenot opened this issue Mar 22, 2023 · 1 comment
Labels
suggestion Feature suggestion

Comments

@afontenot
Copy link
Contributor

Pitch

I just discovered this open source alternative to BlurHash, called ThumbHash that seems to result in better quality image previews at a smaller byte cost.

I think Mastodon should consider replacing BlurHash with ThumbHash for image previews.

Motivation

In my opinion, the hidden image previews shown on Mastodon are aesthetically displeasing because they tend to do a very poor job of representing the underlying shapes. So when you click an image, rather than a sense of resolving or bringing an image into focus, the image tends to transform substantially. Switching to ThumbHash would likely result in better quality image previews at a smaller byte-cost than BlurHash.

@afontenot afontenot added the suggestion Feature suggestion label Mar 22, 2023
@daprice
Copy link
Contributor

daprice commented Aug 5, 2023

I kept wondering why I was seeing bizarre colors in the BlurHash that aren’t in the actual image. Turns out BlurHash doesn’t support transparency at all which causes strange results as explained in woltapp/blurhash#100. The fact alone that Mastodon supports transparent images, BlurHash doesn’t, and ThumbHash does, should be enough reason to switch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Feature suggestion
Projects
None yet
Development

No branches or pull requests

2 participants