This Python script creates a fun poster by overlaying random emojis on a blank canvas.
- Randomly places emojis on a canvas
- Supports custom fonts (emoji-supporting .ttf)
- Generates colorful and fun posters
- Python 3.x
- Pillow library
- Install Pillow:
pip install pillow
- Save the
emoji_poster.pyfile to your desired folder.
- Open terminal or command prompt in the folder containing
emoji_poster.py. - Run the script:
python emoji_poster.py
- Check the folder for the generated
emoji_poster.png.
- You can change the number of emojis, canvas size, background color, and emoji list in the script.
- Optionally, provide a path to a .ttf font that supports emojis for better rendering.
- If the font does not support emojis, the default system font will be used, which may not display emojis correctly.