#!/usr/bin/env python import os, os.path from contactsheet import make_contact_sheet def make_film_strip(fnames, (photow,photoh), (marl,mart,marr,marb), padding): return make_contact_sheet(fnames, (1, len(fnames)), (photow,photoh), (marl,mart,marr,marb), padding) fstrip = filmstrip.make_film_strip(filmstrip.fnames, (120, 120), (0,0,0,0), 0) fstrip.save('/path/to/file.format')