Multimatic: An image compositing tool

This page is the manual for Multimatic. The main page is here. The examples page is here. The downloads page is here.

What is Multimatic?

Multimatic is a software tool for compositing digital images. It is designed to produce the same effects as multi-lens cameras, such as the Lomographic Super Sampler, Action Sampler, Pop9 or Oktomat. It works with digital image sources, and as a result is much more flexible in what it can do.

Multimatic is a post-processing tool: it does not run on your camera, and does not require any specific camera or device to be used. You can use it with images from any source.

Multimatic does not "fake a Lomo". You can use it to get similar effects as some of their multi-lens cameras, but the final result is highly dependant upon what images you use. Lomos generally have very wide lenses and very eccentric contrast and colour, which is a major component of the distinctive style. Multimatic does not make your photos look like Lomo photos.

Multimatic was written by Casey in March 2005. You can contact Casey by emailing casey at caseyporn dot com.

License and Disclaimer

This script is freely distributable. Please credit me as the original author. All comments and feedback welcome. All care and no responsibility taken: I am NOT responsible for any loss or damage incurred from using this script.

Everything to do with Lomo cameras is probably copyright and trademarked by them. I'm not trying to infringe on anything. This is just an experiment, partly to try and dissect the technology behind the philosophy, so to speak.

If you would like to use a script like this for commercial purposes, I would appreciate at least knowing about it.

Requirements

The script runs on Python and uses the Python Imaging Library. It has been tested on Python 2.3 for Mac OS X, and Python 2.4 for Windows XP. No platform-specific modules are used; it should be cross-platform, but as always your mileage may vary.

Using Multimatic

Multimatic is driven by a set of options. You can provide these options in one or more options files, or on the command line, or both. Command line usage is:

python multimatic.py options_file1 optionsfile2 att=val att=val att=val...

Options and files are read left-to-right; later options overwrite earlier ones. This can be used to your advantage by setting up some basic options in files, and overwriting just one or two options on the command line.

Options files are written with one option per line, with name and value separated by a colon (:). Comment lines begin with a hash (#). For example:

# comment line
dir: images/
rotate: each 20

On the command line, options can be specified as name=value pairs. Values with spaces in them can be quoted, such as:

python multimatic.py dir=images/ rotate="each 20"

There is a number of options, explained below.

Configuration Options

Options are arranged below in the order that they are applied in the program. All options are case sensitive.
  1. Image sources. Note: It is highly reccommended that all source images are the same size.
  2. Choosing images. Notes: Images are re-used or discarded as necessary. Images are chosen in order, unless "random" is used, in which case they are shuffled. By default, all images from the image source are used once.
  3. Processing images
  4. Taking slices.
  5. Compositing the image
  6. Developing a set of images

    Examples:

    shots: 2
    output: funky
    output-type: jpg, 80 # high quality JPG
    

Hints and Tips

Being able to use multiple configuration files is nice. You might like to set up files that correspond to image-sets (that specify the files to use, resizing, and output file names), and others that correspond to particular transformations that you like. That way you can easily do, for example:

python multimatic.py StreetSigns Swirly crop=yes
python multimatic.py Inside Swirly vignette=2
python multimatic.py Inside SuperSampler slice-location=60%

So once you've set up the image sets (StreetSigns and Inside, in this example), and the transformation sets (Swirly and SuperSampler, here), you can combine them (plus whatever specific options you'd like) any way you choose.

Real multi-lens cameras are limited to either taking all the photos at once, or in quick succession. With Multimatic, you can start with even just one photo, and re-use it to make interesting composites. Explore and experiment with effects you like.