Skip to content

generating images to attract attention in social media

License

Notifications You must be signed in to change notification settings

spbpython/kdpv_generator

Repository files navigation

Build Status

purpose

generating images like this:

sample1 sample2 sample3

features

  • draw your image declarative way!
  • cyrillic support
  • custom fonts (ttf, otf) support
  • use local or remote image files
  • auto-crop image file to round form

stack

Python 3.5/3.6 (<3.5 is not supported due to use of typing module.), Pillow

how to use

  • install system requirements (cat system_requirements.txt | xargs apt-get install -y)
  • install python requirements (pip install -r requirements.txt)
  • create data.yml from any of existing configs (for example, cp kdpv_generator/configs/meetup.yml data.yml)
  • python run.py

tests

the pytest is used for the tests.
to run the tests use command:
python3 -m pytest

what can be improved

see Issues.

About

generating images to attract attention in social media

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages