July 31, 2003 - Initial Release.
XML Image Indexer (xii for short, pronounced "twelve") is a tool to create images, thumbnails, and an xml index from a set of input images. If Frame Extractor is installed, it will also create thumbnails for mpeg movies. These output files and index could then be used with an external tool to create an html photo album. In a hurry to get your feet wet? Take a look at the example!
You can meet the first 2 requirements on a debian system by running the following as root:
- Perl and the Image::Info module.
- ImageMagick (or at least the 'convert' utility)
- Frame Extractor is required if you want to create thumbnails for mpegs.
# apt-get install perl libimage-info-perl imagemagick
Download latest version:
xii-1.0.tgz
Download from cvs:$ cvs -z3 -d:pserver:anonymous@cvs.xii.sourceforge.net:/cvsroot/xii checkout xii
Sorry. I'm lazy. Just copy xii.pl to somewhere on your path or something. =]
<dest dir> is where images and thumbnals will be created. <source1>, <source2>, ... can be directories or files. The directories will be scanned for images and mpeg movies. Every image and movie will be copied to the specified <dest dir> with the images being resized down to the specified image size. Then a thumbnail (of the specified size) will be created for every image and mpeg movie in a thumbs/ subdirectory. Finally, an xml index of the files will be output either to standard output or to a file if specified with the -x option.xii.pl [options] <dest dir> <source1> [<source2> ... <sourceN>] -t --thumbsize <width>x<height> Maximum thumbnail size. -i --imagesize <width>x<height> Maximum image size. -x --xmlindex <file> Output index file (else output to stdout) -c --combine-sourcedirs Collapse all source files into the root of the destination directory. -o --overwrite Overwrite existing destination files. -h --help Display this help message.
To really get an idea of what XII does, you may want to check out the example!
XII is released as open source under the terms of the BSD License.
Michael Lehenbauer. I may be contacted with questions, comments, fixes, etc. at michael at snark.com