About -- View the gallery -- Make your own! -- Talk to me -- RSS Feed
Huh?
GoogleMontage is a tool for building large photo-montages from Google Images* search keywords. You feed it some keywords, it will fetch the results and create the images you see on the left. You can build your own montage of your favourite things by putting some keywords into the form below.
For the nerds:
GoogleMontage is written entirely in Python, backed by MySQL. Search terms and images are cached on disk, reducing the number of requests to Google.
Rough outline of how it works:
- Montages are added to the queue.
- The back-end picks up a montage, and for each search term, makes a request to Google.
- The response is parsed and the image results are extracted.
- Each image is downloaded, and cached.
- The first image is placed in the centre of a big, empty image.
- An attempt is made to place each subsequent image next to the first, trying 12 possible positions around each image.
- If this fails, try to place the image beside one of the other already-placed images.
- This is repeated until a place is found for the image that doesn't intersect any already placed image.
* Google, Google Search, and Google Images are all trademarks of Google, Inc.