Use this repo to download all of the custom emojis for your slack team and transform them into various patterns for SWAG!
- Make sure you have a Slack api token (test is fine)
- Set that token to an env var called
SLACK_API_TOKEN
- Call the
download.js
script from this repo - Watch all your little custom slack emojis pile into './generated/'
- Use the various imagemagick scripts provided to make patterns with your emojis
Use './src/grid.sh' to produce a simple N by M grid of emojis. Great for mugs or t-shirts!
Use './src/spiral.sh' to produce various spiral shapes. Awesome for circular stickers!
Center an image within another image and output a composite. Note that the output doesn't require a file extension.
composite -gravity center path/to/image path/to/background path/to/output
Convert a gif to a sequence of pngs and scale them all to 100x100 pixels (preserving aspect ratio). This is helpful if you want to make a pattern out of a few gifs and youw want all the emojis to be of the same size. Note that the name of the pngs will be something like meme.gif --> [meme-1.png, meme-2.png, ... meme-N.png]
convert path/to/meme.gif -scale 100X100 path/to/output/meme.png