#!/bin/sh # # generate_photo_index 'images' # # Generate the photo index thumbnail map "INDEX.html", for the # "photo_store" sub-directory of IM Examples. # # A 'polariod' style image thumbnail is used, and the index image is converted # to JPEG format. The HTML file is also edited using the perl in-place # editing script to substite various strings, adding the more user friendly # text to the resulting index file. # # Anthony Thyssen 13 September 2007 # . ../generate_options montage -size 500x500 "*_orig.*" -thumbnail 240x240 -set caption '%t' \ -bordercolor Lavender -background black \ -pointsize 12 -density 144x144 +polaroid -resize 50% \ -set label '' -background "$page_bg_color" \ -geometry '1x1+0+0<' -tile 5x INDEX.html convert INDEX.png INDEX.jpg rm -f INDEX.png INDEX_map.shtml perl -i -ple '# inline editing of the HTML file next if /^<\?xml/ || /^@i; s@^.*@<TITLE>IM Examples, Photo Store@i; s@^

.*@

IM Examples, Photo Store

@i; s@^
@
ImageMagick Examples Preface and Index
Directory Index of Photo Store

These photographs are used as part of detailed examples of image processing using ImageMagick.

Many of the images are standard images used in research papers on image processing, including "lena", "mandrill", "tiffany", and "zelda". Others are personal photos taken with a digital camera, including "holocaust", "chinese_chess", "pagoda", "spiral_stairs". Finally a couple of special situation images are present, including "rings" for image scaling aliasing tests, as well as "night_club" and "night_scape" of low light conditions.

Enjoy! -- Anthony

Click on a photo below to see the full sized image@; s@^@

The above are just the original image, also present in the directory are smaller and thumbnailed versions, referenced from the example pages.


Created: 13 September 2007
Author: Anthony Thyssen, <A.Thyssen@griffith.edu.au>

This Page was created using a shell script, "generate_index", applying methods discussed in Indexes of Images. More specifically Polaroid Montages, and Index Maps using JPEG.
@; ' INDEX.html chmod 644 INDEX.*