mjnagel / blobby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blobby (the blobifier)

Simple python script to make a blob emoji combined with another image. Designed to quickly create emojis for Slack/Mattermost with company/product logos.

Prerequisites

  • Python 3
  • Pip

Quick start

# Install required modules
pip install -r requirements.txt

# Run script
python3 blobby.py -i <myimage>.png

# View blob-<myimage>.png

Options

usage: blobby.py [-h] -i IMAGE [--show] [--yell] [--cheer] [-o OUTPUT]

options:
  -h, --help            show this help message and exit
  -i IMAGE, --image IMAGE
                        Image to decorate
  --show                Show image instead of saving to file
  --yell                Make old man yelling at X emoji instead of blob
  --cheer               Cheering blob gif instead of normal blob
  -o OUTPUT, --output OUTPUT
                        Output image (default is ./blob-<image>.png, ./old-man-yells-at-<image>.png, or ./blob-cheer-<image>.gif)

Icons

The icons folder stores the base blob (170x170), base old-man-yells-at, blob cheer gif, and some blob-ception images.

When using a new image with this script you should keep these considerations in mind:

  • Transparent backgrounds will offer the best results (https://www.remove.bg/ is an easy way to make this happen)
  • High quality is good, but the image will be resized to 78x78 to fit in with the blob template properly
  • If your logo is a strange shape it may not work well with the resizing (might turn out really small), you can adjust the LOGO_SIZE value in the script

About

License:Apache License 2.0


Languages

Language:Python 100.0%