summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/imageinfo/README
blob: 3940153a5789fb10954760ebdc34b6f6be39c0e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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.