Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rametta/soften
🌫 Base64 Image Softener
https://github.com/rametta/soften
base64 blurry gatsby gatsby-image image
Last synced: about 2 months ago
JSON representation
🌫 Base64 Image Softener
- Host: GitHub
- URL: https://github.com/rametta/soften
- Owner: rametta
- License: apache-2.0
- Created: 2018-10-31T15:40:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-01T12:04:07.000Z (about 6 years ago)
- Last Synced: 2024-11-17T09:52:14.590Z (2 months ago)
- Topics: base64, blurry, gatsby, gatsby-image, image
- Language: JavaScript
- Homepage: https://soften.surge.sh/
- Size: 17.6 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌫 Soften
For ~~all~~ *one* of your blurry image needs. [Demo](https://soften.surge.sh)
![Blur Effect](https://i.imgur.com/BpFgQ3N.gif "Blur Effect")
## Install
`yarn add soften`
## Use
```js
const soften = require('soften')soften({ filePath: 'path to image' })
.then(data => /* do stuff with data */)
.catch(e => console.error(e))
```If using with Gatsby Image
```js
```