- 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
npm install -g multemojis
OR
yarn global add multemojis
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 scaleToFit |
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
Please feel free to open an issue for any contribution ideas