Java Image Gallery System

Home Page

About Jigs
  What is Jigs?
  How Jigs Works
  When to use Jigs
  System Requirements
  Jigs Project Authors



How Jigs Works

Jigs works by taking an input directory of images and then performing a number of specified tasks on each image in input directory (and subdirectories) recursively.

The EXIF reader works by reading the data from the header of EXIF images. This data is then stored in an XML file with the name of the original image appended with the extension ".txt". For instance, data about "Image001.jpg" is stored in the file "Image001.jpg.txt" in the same directory. This information can then be accessed by several of the other Jigs programs.

The Image Annonator program uses the user specified fields to prompt the user for information about each of the images in the input directory and it's subdirectories. This information is also placed in the XML files mentioned above.

The Image Converter takes all of the images in the input directory and makes each of the scaled copies requested by the user. These new images are placed in the subdirectory "images" in the output directory. In addition, two text files describing the size and location of all of the images is put in the "images" subdirectory.

Finally the RenderEngine gets all of the images in the input directory along with their descriptions, and based upon the selected renderer, determines what types of pages and what type of information is necessary for each page. It packages this information and sends it to the renderer, which then creates HTML output. The RenderEngine can be thought of as the big brute that collects and packages all of the information, while the renderer makes the output pretty. It is entirely possible to create your own renderer for your own needs.

Next: When to use Jigs