2.1.0 • Published 1 year ago
bh-cli v2.1.0
BH CLI (BlurHash Command-Line Interface)
This is a CLI to run BlurHash utility commands in your terminal. This includes encoding image files into a BlurHash string, decoding a BlurHash string into an image file, and validating BlurHash strings.
Installation
$ npm install -g bh-cli
Usage
Encoding an image file to a BlurHash
$ bh encode [options] <image_file>
Decoding a BlurHash string into an image file
$ bh decode [options] <blurhash>
Validating a BlurHash string
$ bh validate <blurhash>
Contributing
Go for it!
Credit
All credit goes to the BlurHash and sharp packages, I just smushed the two together into a CLI.