Contact Sheet

A python script that generates a contact sheet or index print containing a configurable number of images. Multiple sheets are generated, the filename can also be included.

To install copy to ~/.gimp?-?/plug-ins/ directory or /usr/lib/gimp2-0/plug-ins/ and make executable with chmod +x contactsheet.py

This updated version works with version 2.4 of The Gimp, tiff support is included.

Average: 1.9 (9 votes)
AttachmentSize
contactsheet.py10.92 KB
Brown Beauty .PNG20.33 KB
Brown Beauty .PNG20.33 KB

Comments

So... what do I do with it?

Sorry, but I don't have much experience with Gimp.
I've installed the plugin in
C:\Programme\Graphics\GIMP-2.0\lib\gimp\2.0\plug-ins
but I can't seem to find it in the Xtns directory.

I have a Python installed, but still this does not seem to be of any help.

Any help would be appreciated, this plugin seems to be what I need.

Alex

Win XP SP2
Gimp 2.4.2
Python 2.3.5 (#62, Feb 8 2005, 16:23:02)

Re :So... what do I do with it?

Hi,

Try C ://Documents and Settings/yourname/.gimp-xx/plugin or C ://Documents and Settings/yourname/gimp/plugin

Relaunch Gimp.

Menu 'Extn' ---> 'Batch' ---> 'Contact Sheet'

Good luck
Bulbab

Any plans for U.S. paper size?

Hello Robin, great job on the script. Just used it to generate 54 pages of thumbnailed images of jewelry for the wife (hobbyist jewelry maker). I noticed A4 paper size was available -- any plans to add U.S. paper sizes, such as 8.5 wide by 11.0 inches tall (we Yanks call it "letter size")? Thanks again for such a nice script, it worked beautifully.

Mod for US Paper Sizes

It's an easy mod to Robin's script...

in the def Contact_Sheet() function, add the following lines after the definition for 8x10:


elif (contact_size == "Letter"):
width,height = (216,279)
elif (contact_size == "Legal"):
width,height = (216,356)
elif (contact_size == "Tabloid"):
width,height = (279,432)

Next, edit the register() section at the bottom, change the radio button options for contact_size like so:


(PF_RADIO, "contact_size", "Contact page sheet size:", "A4", (("A4 (20.9x29.7 cm)", "A4"), ("Jumbo (10.2x15.2 cm)", "Jumbo"), ("6x8 (15.2x20.3 cm)", "6x8"), ("8x10 (20.3x25.4 cm)", "8x10"), ("Letter (8.5x11 in)", "Letter"), ("Legal (8.5x14 in)", "Legal"), ("Tabloid (11x17 in)", "Tabloid"))),

Save the file and restart GIMP.

- Dan

nice one

... and cool photos, too :)

Is it possible to crop all picture to be square, so that the index is regular?

Thanks for the comment

Currently it is not possible to crop the images to be square. But I will add this as an option to the script.