The tool that allows you to create a custom cover image using a background image, scaling it to a specified percentage, adding overlaid text, and saving the output as an image file.
Clone this repository
git clone https://github.com/kremilly/CoverCreator.git
cd CoverCreator
Install the dependencies using PIP
pip install -r requirements.txt
python covercreator -i <Image_URL> -s <Font_Size> -t <Text> -o <Output_File_Name>
-i <Image_URL>
: Specifies the URL of the background image to be used for creating the cover.-s <Font_Size>
: Defines the font size for the overlaid text.-t <Text>
: Specifies the text to be overlaid on the background image.-o <Output_File_Name>
: Defines the name of the output image file.
To create a cover using the image available at https://kremilly.com/static/images/post-bg.png
, with a font size of 50, adding the text "Test", and saving the file as cover.png
, use the following command:
python covercreator -i https://kremilly.com/static/images/post-bg.png -s 50 -t Test -o cover.png