Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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