You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Timothy Pearson
e63beeb5bd
|
13 years ago | |
---|---|---|
.. | ||
README | 15 years ago | |
example.html | 13 years ago | |
example1.htm | 13 years ago | |
example1.png | 13 years ago | |
example2.htm | 13 years ago | |
example2.png | 15 years ago | |
example3.png | 15 years ago | |
example4.png | 13 years ago | |
imagegallery.js | 13 years ago | |
imagegallery.sh | 15 years ago | |
imageinfo.js | 15 years ago | |
imagescale.js | 13 years ago | |
thumb-example1.png | 13 years ago | |
thumb-example2.png | 13 years ago | |
thumb-example3.png | 13 years ago | |
thumb-example4.png | 13 years ago | |
thumbs.html | 13 years ago |
README
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.