Skip to content

Swift Package for BlurHash

License

Notifications You must be signed in to change notification settings

LePips/BlurHashKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic port of the Swift implementation for BlurHash.

Usage

BlurHashView has been provided as an easy way to use a BlurHash in SwiftUI.

BlurHashView(
    blurHash: "LGF5?xYk^6#M@-5c,1J5@[or[Q6.",
    size: CGSize(width: 4, height: 3),
    pixels: 512,
    punch: 0.8
)

Development

  • macOS support