Project

emojimage

0.0
No commit activity in last 3 years
No release in over 3 years
Turn images into collages of emoji
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

~> 2.1.0
~> 1.8.3
~> 1.2.0
~> 0.19.1
 Project Readme

Emojimage Gem Version

Emojimage takes an input PNG image (sorry, JPG lovers!) and outputs it composed of emoji.

Installation

$ gem install emojimage

Command-line

$ emojimage cast FILENAME --output OUTPUT --type TYPE [--size SIZE] [--no-wrap] [--no-transparency] [--blend=RED GREEN BLUE]

Options

  • --output or -o — The output filename. Required.
  • --type or -t — The output type. One of image (PNG only), text, or html. Required.
  • --size or -s — Emoji size. Defaults to 4.
  • --no-wrap — Doesn't wrap HTML output with <code><pre></pre></code>. Disabled by default.
  • --blend or -b — Color to treat as background when dealing with transparency. This way, the output image can look good on a specific background color. Must be last option. Example: --blend 255 0 0 (blends with red). Defaults to white (255 255 255).
  • --no-transparency — Converts wholly transparent blocks to an emoji. Otherwise, keeps it transparent. Disabled by default.