Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/valeriyvan/swift-blurhash
Swift package that generates a short string from an image, which can be sent with the image URL to display a placeholder image on the client while the full image loads
https://github.com/valeriyvan/swift-blurhash
blur blurhash hash image swift
Last synced: 13 days ago
JSON representation
Swift package that generates a short string from an image, which can be sent with the image URL to display a placeholder image on the client while the full image loads
- Host: GitHub
- URL: https://github.com/valeriyvan/swift-blurhash
- Owner: valeriyvan
- License: mit
- Created: 2024-10-23T10:04:41.000Z (23 days ago)
- Default Branch: main
- Last Pushed: 2024-10-23T18:00:56.000Z (22 days ago)
- Last Synced: 2024-10-24T02:34:10.969Z (22 days ago)
- Topics: blur, blurhash, hash, image, swift
- Language: Swift
- Homepage:
- Size: 1.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# swift-blurhash
`swift-blurhash` is a Swift package that generates a short string from an image, which can be sent with the image URL to display a placeholder image on the client while the full image loads.| source image | blurhash | blurred image build from blurhash |
| ------------- | ------------- | --------------------------------- |
| ![12c2aca29ea896a628be.jpg](/images/12c2aca29ea896a628be.jpg) | LLHV6nae2ek8lAo0aeR\*%fkCMxn% | ![12c2aca29ea896a628be-blurred.jpg](/images/12c2aca29ea896a628be-blurred.jpg) |
| ![a355ab362a07a267e078.jpg](/images/a355ab362a07a267e078.jpg) | L6Pj0^nh.AyE?vt7t7R\*\*0o#DgR4 | ![a355ab362a07a267e078-blurred.jpg](/images/a355ab362a07a267e078-blurred.jpg) |
| ![e08adedc9f82ade9f9d5.jpg](/images/e08adedc9f82ade9f9d5.jpg) | LGFFaXYk^6#M@-5c,1J5@@or\[j6V | ![e08adedc9f82ade9f9d5-blurred.jpg](/images/e08adedc9f82ade9f9d5-blurred.jpg) |
| ![ea9e499f8080ce9956a8.jpg](/images/ea9e499f8080ce9956a8.jpg) | LKO2?V%2Tw=^]~RBVZRi};RPxuwH |![ea9e499f8080ce9956a8-blurred.jpg](/images/ea9e499f8080ce9956a8-blurred.jpg) |The package contains a refactored, optimized, and fully tested version of the original [Swift code](https://github.com/woltapp/blurhash/tree/master/Swift) from [blurhash](https://github.com/woltapp/blurhash) bundled as a Swift package for easier integration and use.