Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.22 KB

File metadata and controls

39 lines (24 loc) · 1.22 KB

Image Templates for Blogs

This script generates images for tech blogs. Just give the image choice, author name you want and the content you want to display on the image.

How to use?

python app.py img_no author_full_name title_to_be_displayed

  • Author Full Name: It consist of first name and last name. If you don't want to use full name then put a '.' after your first name.

  • Title to be displayed: First image has capacity of about 8 words per line and remaining images have about 6 words per line. To display multiple lines, put '/n' between the lines. See the example below for reference

  • Choices of Images are, just put the image number in the script:

    • Image 1:

    • Image 2:

    • Image 3:

  • Examples:

    • python app.py 1 kaustubh . This is blog test

    • python app.py 2 kaustubh . This is blog test/nYou are welcome here/nHello World

Requirements

pip install Pillow, opencv-python

Example Screenshot

Link of Images (Unsplash):