blurrio
v0.1.4
Published
Generate blur from image
Downloads
3
Readme
Usage
import { generate } from 'blurrio' // for browser
// runs in browser, returns a base64 string
const blur = await generate(file, 180)
<img src={blur}/>
TODO
- [ ] Support more input formats.
- [x] Support nodejs via sharp.
Credit
This package is simply a tiny wrapper for StackBlur.js.