jindex 0100664 0000764 0000766 00000022045 07424341612 011432 0 ustar joe webadmin #! /usr/bin/tcl ########################################################### # # # This program takes a directory of images and produces # # an HTML index of thumbnails, each linked to a medium # # sized image which in turn has a link to the full sized # # image file. It produces JPEG's, adds a colored border # # and sharpens the image. # # # ########################################################### ####################### # Config Parameters # ####################### set thumb_size 192 ;# The size in pixles of the LONGEST side of the thumbnail to produce - see readme.txt set med_size 768 ;# The size in pixels of the LONGEST side of the medium image to produce - see readme.txt set sharpen_level 7 ;# Ammount of sharpening to apply, check imagemagick docs for details set interlace_opt none ;# set to "line" to produce interlaced files set border_color black ;# The color of the image border set copyright_text "Copyright 2000 Joe Perrigoue" ;# The text that will added as non-visible comment to the med. and large image. set copyright_doc "/copyright.html" ;# the absolute path to your copyright page. (you really need one of these.) set quality_level 100 ;# quality level for the JPEG compression 0 is worst 100 is best set thumb_suffix "_s" ;# suffix that is appended to the file name to create the thumbnail name set med_suffix "_m" ;# suffix that is appended to the file name to create the medium image name set im_path /usr/bin ;# path to imagemagick binaries - you MUST have imagemagick installed # html header for index page set index_header "