A library that allows you to create your own image poster which you can use to share on social media. Implemented in Python using the PIL module.
pip install niceposter
Important: depending on your system, make sure to use pip3
and python3
instead.
That's all! 🎉
If you would like to install a specific version of Niceposter you may do so with:
pip install niceposter==0.1.1
To start creating an image poster, you have to initialize it, like so:
from niceposter import Create
bg_image = Create.Poster() # default size of 500x500
Then use any one of the methods to make or add changes to an image. Examples:
bg_image.add_image('cool-image.png', position='cc', scale=20)
bg_image.text('Interesting text!', position(50,50), color='red', align='center')
bg_image.frame(thickness=10)
bg_image.filter(rgb=(255,255,255), opacity=50)
pip install niceposter -U
[In progress]
⬜ Add add_shape
method option to provide variety of available shapes
⬜ Add image transformations options
⬜ Add image effects options
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.