GIMP Indexprint/Contactsheet plugin

Last modified 7-dec-2011


If you have entered this page not through my homepage I prefer that you enter this page through www.sullockenzlin.demon.nl and choose the topic Gimp, but it is not necessary.

This page is divided in the following sections. For fast jumping through this page click on the topic.

What is indexprint/contactsheet?

An indexprint or contactsheet is an image that traditionally contains the negative images of an entire roll of film. Photographers used such sheets to index prints or as a proof page to decide which prints to enlarge.

Indexprint is a very useful tool to show the contents of a folder, for web design projects and galleries, personal work, or just to have a record of any archive folder in your (external) hard drives. Indexprint let you easily preview and catalog groups of images by displaying a series of (small) images on a single page or multiple pages.

From version 3.20 on indexprint has the possibility to show the exif information 'date and time', 'iso', 'speed', and 'F-number' if exist otherwise 'no exif data' will be printed. With the latest version 3.30 also some RAW formats can be printed.

Quick overview Indexprint


Examples of Indexprint usage
Default indexprint. Images are complete printed
Indexprint used as a mosaicprint
Indexprint with ratio 1:1 choosen.
Images are cropped.
Indexprint with ratio 16:9 choosen.
Images are cropped.
Indexprint with ratio 16:9 and rotate images
checked. Images are cropped.
....

Indexprint (or contactsheet) is a python script that generates an indexprint or contactsheet containing a configurable number of (positive) images. If there are more images than fits on the page, new contactsheets are created. Also, the image name to the images can be printed. The following filetypes are at the moment supported: jpg, png, tif, pcx, xcf, bmp and ps/eps. From version 3.30 and higher some RAW formats can be printed too. The plugin runs on GIMP 2.6.6-11. See the help file for more details.

The pictures above are samples how indexprint/contactsheet works. For the default indexprint I have defined only three pictures on a row and three rows. I also wanted the filename including the extension printed. As result all pictures are scaled and centered within there respective minipages.

Besides indexprint/contactsheet function you can use the program also in a creative sense. Put a lot of photos, pictures in a directory, set number of columns and rows very high, and create a "random mosaic picture" with given images.

You can download in the download section the latest version of the indexprint/contactsheet plugin. The plugin placed here is fully functional and free and also published at the GIMP registry. Download and use of the plugin is at your own risk. From time to time the plugin placed on the GIMP registry will be updated with a newer version from this site. See for version 3 (http://registry.gimp.org/node/24503) and for version 2 (http://registry.gimp.org/node/120).

Enjoy indexprint!!

Download section

Indexprint v3.xx

Contactsheet v2.xx
Other

Known problems and limitations

Indexprint v3.xx
  1. Printing with GIMP (windows version) gives a rightshift of the indexpage for unknown reasons. Use Gutenprint plugin instead. This is not directly related to the indexprint plugin. Remember indexprint print option uses only the standard printerdriver from Gimp not Gutenprint.
  2. LIMITATION v3.21: don't use ONLY spaces in the header/title text, indexprint will stop. Keep it empty/blank if you don't want a title.
  3. LIMITATION v3.xx: Window will not resize when you are working with a screen height of 800 px or less use v2.xx or use contactsheet-smallscreen instead (only downloadable from my website).

Indexprint v2.xx
  1. Printing with GIMP (windows version) gives a rightshift of the contactpage for unknown reasons. Use Gutenprint plugin instead. This is not directly related to the contact sheet plugin. Remember contactsheet print option uses only the standard printerdriver from Gimp not Gutenprint.
  2. If you are working with a white foreground in your work your text will not be displayed because the background is also white. A possible work around is to disable the WHITE_FILL line in the code or use v3.xx instead.
  3. Fixed Bug "type-error" encoutered when working with newer software. This apllies also to contactsheet-smallscreen.


Version history

Indexprint v3.xx
version x.xx (development status)
  1. Wish: sorting on exif information
  2. Necessary: main window changing to notebook to overcome screenproblems
version 3.31
  1. ADDED: added focal length (19 aug).
  2. ADDED: JPEG XR (.wdp;.hdp;.jxr) support added (aug). Install XR plugin needed.
  3. Fixed: type error on Linux (Ubuntu): int expected got float
version 3.30 (released 3-may-2011)
  1. ADDED: added capabilities for RAW formats. To make use of it install UFRAW v1.18 for Gimp: http://registry.gimp.org/node/31
    The following RAW formats are supported although not all tested.
    • Panasonic: RW2 fully tested
    • Canon: CRW, CR2 (CR2 tested by Andre Kroon)
    • Nikon: NEF
    • Pentax: PEF
    • Sony: SR2, ARW
    • Fuji: RAF
    • Samsung: PEF
    • Adobe: DNG
    Remember if Gimp can read the raw format so can indexprint. Please drop a line if your camera (and extension) is not metioned in the above list but recognized by Gimp I have to add the raw format extension(s) for your camera.
    Raw formats are big so it will take time to make an indexprint be patient.
version 3.22 (released 15-april-2011)
  1. ADDED: more exif information: iso, speed and F-number
  2. CHANGE: version w/o exif and w exif now combined. If no exif support is installed 'include exif' tab will be grayed out.
  3. Fixed: header cannot contain spaces only without chrashing
  4. Fixed: not correct working switch
  5. Fixed: several typos
version 3.21 (released 12-mrt-2011)
  1. Fixed: In version 2.30 "you get an error if you leave the Header blank." Put at least a character in this line. Read also the known limitations.
version 3.20 (released 22-febr-2011)
  1. ADDED: exif date and time (pyexiv2 should be installed!!).
  2. ADDED: title on each page.
  3. ADDED: background color can be changed.
  4. CHANGE: pagenumber from top to bottom; you can give a start pagenumber.
  5. CHANGE: new Dutch translations.
  6. Fixed: "not reading foreign characters" now also for Linux users.
  7. Fixed: "not remembering last state for Linux users" now also for Linux users.
  8. Fixed: custom papersize is now working.
version 3.10 (released 25-nov-2010)
  1. Changed structure for easier installation: now one step installation.
  2. 29/10: Released Dutch manual revision 1.1.
  3. Added remember plugin setting between sessions.
  4. Fixed "not reading foreign characters".
  5. Fixed no problems with non-image files with image extensions (i.e. readme.jpg); error are reported in an error.log
  6. Pagecounter now equal to filecounter (request G.Sprik)
  7. Now possible to select on a piece of the filename (request G.Sprik)
  8. Added a config dir for storing the configuration.
  9. Added a errorlog dir, necessary for windows because print doesn't work.
  10. New dutch translation file
  11. Several other small changes has been made
version 3.00 (released 08-july-2010)
  1. This is the initial release.
  2. Same features as contactsheet v2.xx and more.
  3. Dutch translations available (you can't use the translations from v2.xx).
  4. Solved the smallscreen problem: plugin has is own GUI.
  5. Uses Python v2.6 and GTK+ 2.16 or above. It's possible that you have to install it.
  6. Uses tooltips for easy help.
  7. Dutch manual available.
Contactsheet v2.xx
version 2.16 (released 28-nov-2011) and contactsheet smallscreen v2.11
  1. Fixed Bug "type-error" encoutered when working with newer software. This applies also to contactsheet-smallscreen.
version 2.15 (released 25-dec-2010)
  1. Fixed "not reading foreign characters". Now also for Linux users
version 2.14 (released 27-nov-2010)
  1. Fixed "not reading foreign characters".
  2. Fixed no problems with non-image files with image extensions (i.e. readme.jpg).
  3. Pagecounter now equal to filecounter (request G.Sprik)
version 2.13 (released 18-june-2010)
  1. Added several new papers including two bannertypes.
version 2.12 (released 04-jan-2010)
  1. Added option to disable the extension to print. Useful if you wish only a name to the photo. I used it to print a lot of passport photographs (classroom of my child) on a single sheet.
  2. Added French language pack v1.0. Thanks to Hervé for the French translation.
  3. Updated Dutch language pack v1.4.
  4. Updated localization file.
version 2.11 (released 30-oct-2009)
  1. Added .bmp support.
  2. Updated Dutch language pack v1.3.
  3. Updated localization file.
version 2.10 (released 22-sept-2009)
  1. Added simple printing capabilities. You have to experiment with your printer for the best results. Very important: the plugin uses the default Gimp builtin printer driver (will be changed in future releases). Unfortunatly I cannot set any of the parameters (pagesize, margin, etc) you have to set the parameters of your printer first :(. Set margins in your printerdriver to zero and choose your correct papersize.
  2. Added .ps/.eps support. The special .ps/.eps version of contactsheet has been removed. Remember to add ghostview/ghostscript to GIMP if you want to select an .eps/.ps type image otherwise contactsheet refused to work. For this reason selecting "all registered types" in imagetypes will exclude .ep/.eps types of images.
  3. Fixed: "Under certain conditions it was possible that not all possible rows were placed on contactsheet". Problem has been solved.
  4. Code has been partly rewritten.
version 2.06
  1. Fixed: "It is possible that not all possible rows are placed on the contactsheet. These rows are placed on the next contactsheet." A miscalculation has been corrected. It was only visible when a large number of images per row was choosen without the filename option.
  2. Margin round the image can now be changed in tenth of a mm.
  3. Maximum number of images per row has been increased to 256.
  4. Maximum number of rows has been increased to 256.
  5. Maximum number of DPI has been increased to 1000.
version 2.05
  1. A little 'error' (a testlog command has not been set to off) has been corrected, nothing else has been changed. Look for "../tmp/gimp.log" on your system, delete this file.
version 2.04
  1. Fixed: "Set topmargin at least 5 mm otherwise contactsheet page will not be visible." Topmargin can now be as low as possible. It is the user responsebility to take care of the printable margin. For instance my printer (HP CP1700d) the left-right margin should be set at least 5mm otherwise that part of the image wil not be printed.
  2. Fixed: "Textfile (if option is checked) is not emptied wih each batch run so it will grow to infinity. You have to manually empty/delete this file." Textfile is now emptied before information is written.
version 2.03
  1. Margin round the image can now be changed from zero on.
  2. Added "sorted images" as option.
  3. Updated Dutch language pack to v1.2.
  4. Updated localization file.
  5. Fixed: "Files with an extension .j .jp .jpe .p .pc .t .ti .x .xc .pn , will be seen as images. If it is not a imagefile the plugin stops. Remove/move/rename all files with those extensions." It is not longer necessary to remove these files.
version 2.02
  1. Margin round the image can now be changed.
  2. Font size can now be choosen. Be aware that fontsize automatically will be scaled down to fit the image width.
  3. Added .XCF support.
  4. Added a choice to save a text filelist from the printed images with the directory name where the image is located. Useful if you have a lot of images in several directory's. Name is the same as the contactpage name but with the .TXT extension.
  5. Code has partly been rewritten.
version 2.01
  1. Dutch language pack added.
version 2.00
  1. Now possible to make contactsheet of a whole directory including subdirs.
  2. Two radiobuttons replaced by option buttons.
  3. Added several paperformats, including lettersized papers.
  4. Images are sorted in the way the systems sort the images.
  5. Added extension in the filename.
  6. Added support for pcx format.
  7. Added making contactsheets of all registered formats in one batch.
  8. Number of rows is now limited to paperheight (automatic scaled down if necessary).
  9. Images are automatically scaled and symmetrically placed within square minipages.
  10. Contactsheet modified to work also on Gimp version 2.6.
version first release
  1. Robin Gilham has made his final release of contactsheet only working up to Gimp version 2.4. From this version I (Elmar) have build version 2.xx


Installation notes

Windows XP users

Note for installation contactsheet v2.xx on Windows.

Note for installation indexprint v3.xx on Windows.

Windows Vista users:

Same procedure as XP but be careful with virtualization. Look also at the discussion at node http://registry.gimp.org/node/24784

Instead [drive]:\Documents and Settings\[user]\.gimp-2.6\plug-ins\ Vista uses C:\Users\[USER]\.gimp-2.6\plug-ins\


Windows 7 users:

Same procedure as XP but be careful with virtualization.

Instead [drive]:\Documents and Settings\[user]\.gimp-2.6\plug-ins\ Windows 7 uses C:\Users\[USER]\.gimp-2.6\plug-ins\

LINUX users

Contactsheet v2.xx Indexprint v3.xx Be very careful when installing the plugin for all users. Make the approperiate directories accessible (read/write) for all users.

Plugin is tested on the following systems
item\system Gentoo ~amd64 LinuxMint
(Isadora) 32 bit
Mandriva 2010.0
autumn 2009
Mandriva 2010.1
spring 2010
Ubuntu 10.04
Ubuntu 10.10 and
Ubuntu 11.04
Python 2.6.5 ?? 2.6.4 2.6.5 2.6.5/2.6.6
Pygtk 2.17 ?? 2.02.16.0 2.02.17.0 2.??
gimp 2.6.10 2.6.8 2.6.7 2.6.8 2.6.?/2.6.11
libglade 2.6.4 ?? 2.6.4 2.6.4 2.6.4
kernel ?? 2.6.32-21-generic 2.6.31 2.6.33 2.6.??
Gnome ?? 2.30.2 ?? ?? ??
Thanks to: Gentooista Bob63 G. Sprik G. Sprik E. Sullock Enzlin


MAC users

At the moment no information is available. Help will be grateful.


To Do/Wishlist

Only for version 2 Only for version 3
Other suggestions??
Just mail or ask on the registry.


Windows release of printer-help

A helper for color managed printing. The script has been modified to work on a XPpro SP3 machine with Gimp 2.6.8-11 installed.
Read the comments on the Gimp registry (http://registry.gimp.org/node/12360).

Download windows printer-help here:
printer-help.

For owners of a HP CP1700 printer and using Netbit photopaper you will find here an ICC profile: Netbit profil. Also I have a profile for plain paper (OCE RedLabelArchive, 80 gr) here: plain paper profil, and for plain thick paper (OCE TopColor paper, 200gr) I have one here: TopColor profil.
Printer settings voor the Netbit paper are as mentioned on the box; settings for plain paper: printer quality normal; and for the TopColor paper: plain paper thick, print quality is best.
Keep in mind to turn off color management in the properties printer driver (color management tab) and in printer preferences the color tab.


Contact information

If you have comments/bugs/wishes/suggestions please put it on the GIMP registry site. You can also directly contact us:
-Contactsheet: Robin (robin.gilham@gmail.com) or me (moroquendo@gmail.com).
-Indexprint: only me (moroquendo@gmail.com).

You are visitor Website Counter since 25-05-2009