multemojis
v1.1.0
Published
A CLI tool for creating emojis from images
Downloads
5
Readme
Multemojis
A CLI tool for resizing and composing images to make Slack emojis and mosaics
Features
- Support for PNG, JPEG and BMP buffers.
- Supports for reading images from URLs and file paths.
- Support for a single emoji or a mosaic of any dimensions
Installing
npm install -g multemojis
OR
yarn global add multemojis
Usage
multemojis <PATH_TO_IMAGES OR URL> [options]
If no options
are specified, multemojis creates a single Slack emoji from your image
Option | Definition | Default
--- | --- | ---
height / -h | how many emoji tiles high | 1
width / -w | how many emoji tiles wide | 1
out / -o | where to output emojis | <PATH_TO_IMAGES OR URL>
| method / -m | how to scale images | jimp contain
Example
Compose a 2x2 emoji mosaic from this sweet David Bowie headshot and write it to emojis/
multemojis http://legacy.davidbowie.com/wp-content/uploads/1973/04/aladdin-sane.jpg -w 2 -h 2 -o emojis/
See Slack docs for uploading emojis to your workspace
Contributing
Please feel free to open an issue for any contribution ideas