Emojimage takes an input PNG image (sorry, JPG lovers!) and outputs it composed of emoji.
Installation
$ gem install emojimageCommand-line
$ emojimage cast FILENAME --output OUTPUT --type TYPE [--size SIZE] [--no-wrap] [--no-transparency] [--blend=RED GREEN BLUE]Options
-
--outputor-o— The output filename. Required. -
--typeor-t— The output type. One ofimage(PNG only),text, orhtml. Required. -
--sizeor-s— Emoji size. Defaults to4. -
--no-wrap— Doesn't wrap HTML output with<code><pre></pre></code>. Disabled by default. -
--blendor-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.