Placeholder is a simple little python module that creates (drumroll..) placeholder images, based on work of Martin Marcher
Project description
Simple class to create placeholder images for wireframing.
install by
.. code:: bash
$ pip install python-placeholder
# or
$ python setup.py install
Example:
=========
.. code:: python
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
install by
.. code:: bash
$ pip install python-placeholder
# or
$ python setup.py install
Example:
=========
.. code:: python
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.