Skip to content

dchenz/emojify-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emojify Image

Code style: black

Render a PNG or GIF using smaller GIF's as pixels, such as animated emojis.

These are examples created using Discord emojis. Try toggling your GitHub theme for a better view.

Example 1 Example 2

Requirements

  • Python 3.7+
  • Pillow
pip install -r requirements.txt

Usage

# Generate a GIF using PNG as input
python3 emojify.py image.png emoji.gif

# Generate a GIF using GIF as input
# Without it, the input GIF is treated like a still image
python3 emojify.py image.gif emoji.gif --use-gif

# Number of emojis per line/row
# Default: 64
# - Increase this to make the output "less pixelated"
python3 emojify.py image.png emoji.gif --per-line 128

# Pixel width of GIF output
# Default: 1024
# - LARGE NUMBERS MAY SLOW OR CRASH YOUR SYSTEM
# - Should be divisible by --per-line
python3 emojify.py image.png emoji.gif --width 2048

# Milliseconds delay between GIF frames
# Default: 45
python3 emojify.py image.png emoji.gif --delay 30

About

Render a PNG or GIF using smaller GIF's as pixels

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages