Skip to content

czycha/emojimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Turn images into emoji

Resources

License

Stars

Watchers

Forks

Packages

No packages published