A number of utilities showing the facilties for dealing with image files. The scripts here are independent from each other. imageinfo.js Prints the width, height, depth and format of images that are in a supported format. This script is a good example of how to process arguments passed on the command line. imagescale.js Loads an image, scales it to the specified size, then saves using the specified name and format. imagegallery.js Creates an image gallery from a list of images specified on the command line. This script brings together the facilities used in the other examples to create a tool that is useful in the real world. imagegallery.sh Creates a gallery sorted by the timestamps of the image files. This is a very simplistic example of how you can combine kjscmd with shell scripts. example* thumb-* Example output from the image gallery script.