python-placeholder 0.2

Creator: railscoder56

Last updated:

Add to Cart

Description:

pythonplaceholder 0.2

Simple module for creating placeholder images
install by
$ pip install python-placeholder

Example:
from placeholder import PlaceHolderImage
img = PlaceHolderImage(width = 300, height = 200, path = 'placeholder.png')
img.save_image()


Known bugs:

if you do not provide absolute path to font to PlaceHolderImage the default font used will have very small size.
if you get something like The _imagingft C module is not installed, look here https://stackoverflow.com/questions/4011705/python-the-imagingft-c-module-is-not-installed



Run tests:
You can run the testsuite with the following command:
python -m unittest tests
Or use tox to test against all supported python versions.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.