Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lepips/blurhashkit
Swift Package for BlurHash
https://github.com/lepips/blurhashkit
blurhash ios macos spm swift swiftpackage swiftui tvos
Last synced: 3 days ago
JSON representation
Swift Package for BlurHash
- Host: GitHub
- URL: https://github.com/lepips/blurhashkit
- Owner: LePips
- License: mit
- Created: 2022-08-08T03:30:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-28T21:19:05.000Z (11 months ago)
- Last Synced: 2023-12-28T22:24:56.482Z (11 months ago)
- Topics: blurhash, ios, macos, spm, swift, swiftpackage, swiftui, tvos
- Language: Swift
- Homepage:
- Size: 20.5 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Basic port of the [Swift implementation for BlurHash](https://github.com/woltapp/blurhash/tree/master/Swift/BlurHashKit).
## Usage
`BlurHashView` has been provided as an easy way to use a BlurHash in SwiftUI.
```swift
BlurHashView(
blurHash: "LGF5?xYk^6#M@-5c,1J5@[or[Q6.",
size: CGSize(width: 4, height: 3),
pixels: 512,
punch: 0.8
)
```## Development
- [ ] macOS support