Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a few hundreds of images and I'd like to generate a "gallery" out of it. The problem is I'd like to have it in ODT or at least in PDF(or sth that I can print nice to PDF). It will be printed, it should look neutral (it's an grave reference for archaeology paper) each image will have caption. Images have different sizes. What software would you suggest?

share|improve this question
up vote 4 down vote accepted

Install Imagemagick. Then open a command window or terminal. Assuming all your images are jpegs & they live in the current directory, type:

montage -label %f\n%wx%h\n%b -frame 5  -tile 6x\
        -background #999999 -geometry 60x60+4+4 *.jpg test.pdf

This will generate thumbnails, 6 to a row, each tile exactly 60x60, with the aspect ratio preserved, so there might be some blank around your image.

Your output might look like:

enter image description here

share|improve this answer
+1 Nice, seen people recommending Imagemagick a few times on here, but I have never really looked in to it, this looks cool (and thanks for the example) I am going to look in to this for a project I have coming up. – William Hilsum Sep 28 '09 at 23:16

See this article, "Convert JPG to PDF (or other image formats to PDF)".

The idea behind this article is simple enough : combine an image-viewer software, such the Windows Photo Printing Wizard, Picasa, or IrfanView, together with a virtual PDF printer. You then just print the images you choose to the pdf printer, to generate the gallery as a pdf file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.