Collage
This package builds collages using images downloaded from the internet. It makes a set of tiles from the images, which are matched against the images and used to cover images which match well.
The images which happen to be fitted most closely by the tiles are rendered with the matching tiles. The resulting images resemble the original images, but are made up entirely from minature versions of the same images.
Images are fetched according to a query, optionally provided by the user.
The downloaded images are categoried by primary colour on disk.
Instructions
Install system requirements.:
$ sudo apt-get install python build-essential python-dev python-virtualenv libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
On 64-bit Ubuntu, symlink the image libraries otherwise PIL won’t work very well.:
$ sudo ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib/ $ sudo ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so /usr/lib/ $ sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib/
Create and activate a new virtual Python environment.:
$ virtualenv --no-site-packages ve ... $ source ve/bin/activate (ve)$
Install package.:
(ve)$ pip install ~/Downloads/collage-0.1.0.tar.gz ...
Start creating collages.:
(ve)$ collage-create "jack nicholson" ...
Bugs and Patches
Please email any bugs or patches to john.bywater@appropriatesoftware.net.
Metadata
Release files for collage 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| collage-0.1.0.tar.gz | 79.8 kB | Details |
Release files / collage-0.1.0.tar.gz
| Download URL | collage-0.1.0.tar.gz |
|---|---|
| Size | 79.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25c8acbf1c75d0521faa0a3f540df9939f50648e944291a3f0477a63632157bd
|
|
BLAKE2b-256 checksum How to use checksums |
9a7b26a46b30608d802326e0c076b00efdd18b01b4f20151a035f9780f8aa018
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |