Skip to content
Generates an emoji collage from an image
Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Fixed module setup and external usage Jun 20, 2019
emojimage Implemented a more accurate + faster average algo Jun 21, 2019
tests initial commit Jun 16, 2019
.gitignore Removed some potentially broken code Jun 20, 2019
LICENSE initial commit Jun 16, 2019
MANIFEST.in
README.md
requirements.txt
setup.py Changes and fixes to packaging Jun 20, 2019
test_input.jpg Update readme, and fix setup.py Jun 19, 2019
test_output.jpg Updated test output image for new algo Jun 21, 2019

README.md

emojimage

Test Image Emoji'd Image

emojimage is a Python program to convert an image into a collage of emojis.

Usage

From the Command Line

  1. Run python setup.py install
  2. Run the program with your desired arguments
    1. Use python -m emojimage <input> <output> to run anywhere
    2. Use emojimage <input> <output> if Python scripts are on your path

As a Python library

  1. Install the module using python setup.py install
  2. Import the module using import emojimage
  3. Call create_collage() with the required arguments

Browsing the documentation

Use the command python -m pydoc -b to run an interactive server and browse documentation for the program. All public functions are fully documented.

FAQ

Where are the emojis from?

The emojis are from JoyPixels.

What version of Python do I need?

Any version of Python over 3.7.0 should work

Are any external libraries required?

The external libraries are available in the setup.py or requirements.txt

Todo

  1. Speed up the program, moderate size images can take 5+ minutes to process, dependent on emoji size.

License

Copyright (C) 2019 Harry Peach

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (LICENSE). If not, see https://www.gnu.org/licenses/.

You can’t perform that action at this time.