#!/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@^
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