SplatHash – A lightweight alternative to BlurHash and ThumbHash

https://github.com/junevm/splathash

#HackerNews #SplatHash #BlurHash #ThumbHash #Lightweight #Coding #OpenSource

GitHub - junevm/splathash: compress any image to 16 bytes and reconstruct a blurry preview. Like blurhash and thumbhash, but smaller.

compress any image to 16 bytes and reconstruct a blurry preview. Like blurhash and thumbhash, but smaller. - junevm/splathash

GitHub

More progress in setting up my Wordpress as both a gallery and my social presence! Anyone know how to set it up so preview images use a blurhash if a post is marked with a content warning? I've put the entire site under an age check since doing it to individual posts doesn't obscure them in indexes and searches.

https://weanimatethings.com/

Mastodon clients just do their usual blur-and-obscure with anything CW'd, so the ActivityPub feed isn't a problem.

A frustrating combo of "You shouldn't (have to) touch the PHP code" and "Wait you're not coding your own theme in PHP? Are you new here?"

#wordpress #blurhash #agegate

We Animate Things

We Animate Things

Adding Blurhash Support

Mastodon is where I first learned about “blurhashes,” the blurry image placeholders that show while images are still loading. After I’d recently added support for image attachments to this site’s ActivityPub implementation, I learned that Mastodon instances don’t necessarily generate blurhashes for images sent from other servers.

bddz.be/LyY

Adding Blurhash Support – Jan’s Blog

Yesterday I learned about #BlurHash, a format Mastodon uses to store the blurry image previews as very short text strings, because they are so convenient to move around with all the text. I immediately saw the fundamental wisdom in the ancient shell ways with more clarity, even though treating almost everything as a string often feels wrong and dirty.

Я ускорил генерацию blurhash в 3̶6̶ 8̶7̶ 128 раз

Старую собаку новым трюкам не обучишь, вот и я взялся за старое. Blurhash — это компактный способ представления размытой превьюшки изображения в виде ASCII-строки. Разработан финской компанией Wolt (аналог Delivery Club). Давно хотелось внедрить такое к себе в API , чтобы любой клиент мог более плавно и изящно делать загрузку контент на своем сайте. Но сколько я на него смотрел — всегда не давала покоя скорость работы, уж больно медленно и «в лоб» он был написан. Но вот время пришло наконец-то разобраться, что же он так медленно работает.

https://habr.com/ru/articles/850114/

#blurhash #simd #compilers #gcc #clang #pillow

Я ускорил генерацию blurhash в 3̶6̶ 8̶7̶ 128 раз

Старую собаку новым трюкам не обучишь, вот и я взялся за старое. Blurhash — это компактный способ представления размытой превьюшки изображения в виде ASCII-строки. Разработан финской компанией Wolt...

Хабр
BlurHashでプレースホルダに彩りを | gihyo.jp

今回は画像の美しいプレースホルダを描画することのできるBlurHashについて紹介します。

gihyo.jp

Dynamically Resize and Optimize WordPress Images with imgproxy

Imgproxy is an open source image processing proxy service. You supply image URLs and processing parameters in the URL. It downloads the image and applies the filters you’ve specified. It can also automatically serve WebP or AVIF images to clients that support those formats.

I started by installing imgproxy on the DigitalOcean App Platform. You can use the […]

#blurhash #imgproxy #WordPress

https://josh.blog/2024/07/dynamically-resize-and-optimize-wordpress-images-with-imgproxy

You can read the colors from a #BlurHash (like Mastodon image placeholders) and create a #SwiftUI MeshGradient from them! SwiftUI's perceptual interpolation makes them look even prettier than the original blurhash renderer.

Thanks @neilsardesai for posting a similar idea
https://mastodon.social/@neilsardesai/112604932142344741

Edit: now on github! https://github.com/daprice/BlurHashViews

GitHub - daprice/BlurHashViews: Decode BlurHash strings to SwiftUI MeshGradient or Color with various customization options.

Decode BlurHash strings to SwiftUI MeshGradient or Color with various customization options. - daprice/BlurHashViews

GitHub
A simple use case of blurhash in Python is to display blurred image placeholders while the actual images load, improving user experience. #python #blurhash
A simple use case of blurhash.blurhash is to encode an image into a compact hash string that can be easily transmitted. With sign_pow, we can make it secure by adding a password hash. #python #blurhash #blurhash