Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to make an index sheet with GIMP of jpgs in a folder

2,313 views
Skip to first unread message

Postman Delivers

unread,
Nov 25, 2008, 5:55:27 PM11/25/08
to
I am using Mepis7 a debian linux, and can not find a stand alone software
package to product contact sheet or index of photos in a folder. One of
the users in Mepislover.com suggested using ksnapshot to capture the
thumbnails created in a image program, is a good suggestion and that
works well for a few images.

For a large series of images, I would think that GIMP is capable or has a
plugin to accomplish this time consuming feat, using the suggestion
offered via mepislovers.

Using windows I often used DPIC to create contact sheets, a kiss program
that worked well...
www.cd2html.de

There must be a way to instruct GIMP to create stylish indexes of images
in a folder (with the Image name, File size and dimensions listed below
the thumbnail).

JR the postman

Postman Delivers

unread,
Nov 25, 2008, 10:29:42 PM11/25/08
to

As aditional info/Question: I can open a image folder and using tools in
Konqueror I can create a HTML contact sheet. Is there method this HTML
object/image can be imported, and stylised with Gimp and then saved as a
jpeg image?

JR the postman

Postman Delivers

unread,
Nov 25, 2008, 10:45:19 PM11/25/08
to

* * *

Seemed I resolved the info/question with some expermentation: Konqueror
can print the item as a pfd file, that can be imported and then it can be
saved as a xcf file, and then reloaded and saved as a jpg file... But
there must be a faster solution, and how can this be made into a script?

JR the postman

Ofnuts

unread,
Nov 26, 2008, 2:38:16 AM11/26/08
to

Don't see why you oouldn't save the pdf directly as JPG. There should be
no need for the intermediate XCF.

But you maybe barking up the wrong tree, imagemagick
(http://www.imagemagick.org/) is the canonical tool for image form
conversion.

And, actually, imagemagick has a "montage" module which may be what you
are looking for. As it says on the box: "The montage program is a member
of the imagemagick(1) suite of tools. Use it to create a composite image
by combining several separate images. The images are tiled on the
composite image optionally adorned with a border, frame, image name, and
more." More info and examples at
http://www.imagemagick.org/script/montage.php.


--
Bertrand

Fr@nk Stef@ni

unread,
Nov 26, 2008, 2:49:05 AM11/26/08
to
The fastest and easiest way to to large amount of images
into a contact sheet is with the help of Image Magick
from the command line in one step, eg:

montage infiles outfile

This takes all 'infiles' and generates one or more of 'outfile'
which are automatically numbered by sequence numbers.

I used to make index prints with the following complete script
based on montage:

---<script by FS, use at your own risk>---
#!/bin/bash

if [ $# -lt 3 ]; then
echo ""
echo "Aufruf: $(basename $0): titel quelle ziel"
echo ""
echo "titel : Große Überschrift auf jeder Indexseite"
echo "quelle: Dateinamenmaske der zu indizierenden Bilder"
echo "ziel : Name der zu erzeugenden Indexdatei (Bild)"
echo ""
exit
fi

title="$1"
infiles="$2"
outfile="$3"

montage -tile 6x3 \
-title "$title" \
-pointsize 120 \
-background dimgrey \
-fill lightgrey \
-font arial \
-label '%f' \
-geometry 800x800+80+80 \
$infiles \
$outfile
---<EOF script>---

Save this script to one of your binary paths, make it executable an
call it like this:

myScript "Nice title for my index prints" *.jpg index.jpg

You may play with the parameters at will, where the following
Image Magick reference is very worthwhile:

http://www.cit.gu.edu.au/~anthony/graphics/imagick6

in particular

http://www.imagemagick.org/Usage/montage/

It may also help to scale all images in question down, prior to
mounting with sth. similar to the following line:

for f in *.jpg; do convert $f -scale 800x800 $f.scaled.jpg; done

HTH,
Frank

rich

unread,
Nov 26, 2008, 4:43:13 AM11/26/08
to

<snip>

> But you maybe barking up the wrong tree, imagemagick
> (http://www.imagemagick.org/) is the canonical tool for image form
> conversion.
>
> And, actually, imagemagick has a "montage" module which may be what you
> are looking for. As it says on the box: "The montage program is a member
> of the imagemagick(1) suite of tools. Use it to create a composite image
> by combining several separate images. The images are tiled on the
> composite image optionally adorned with a border, frame, image name, and
> more." More info and examples at
> http://www.imagemagick.org/script/montage.php.


I agree that imagemagick is probably the way to go. I also use Mepis 7
and this script goes some of the way to the OP's requirement.

bbips
http://sourceforge.net/projects/bbips/

This is a bash script that provides a simple interface to Imagemagick.
One of the options is a contact sheet of all images in a directory.
Outputs in html.
I convert these to pdf using HTMLdoc (from the repository)
It has a few nice touches, you can choose the background colour and a
border colour.
It prints the image name under the thumbnail.

--
rich

0 new messages