1.1.0 • Published 6 years ago

multemojis v1.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

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

OptionDefinitionDefault
height / -hhow many emoji tiles high1
width / -whow many emoji tiles wide1
out / -owhere to output emojis<PATH_TO_IMAGES OR URL>
method / -mhow to scale imagesjimp 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/

full size Bowie


Bowie0 Bowie1

Bowie2 Bowie3

See Slack docs for uploading emojis to your workspace

Contributing

Please feel free to open an issue for any contribution ideas

Built with jimp and command-line-args :pray:

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago