=========================================================================== CLIPSHOW by Peter Donnelly 1301 Ryan Street Victoria BC Canada V8T 4Y8 =========================================================================== This little program is for reviewing your collection of BGI clip art; that is, image files created with CLIP or a similar program and suited for use with the PutImage procedure/function in Turbo/Borland Pascal or C/C++. To run the program, enter a filespec on the command line. A directory path and the usual wildcards are accepted. Optionally you may specify a palette file as the second argument. It is assumed that this file is in the same directory as the image file(s); if you don't specify an extension, ".PAL" is appended. If you don't specify a palette at all, the program will attempt to match each image file with a ".PAL" file; for example, it will try to display "ROSE.IM" with the color data from a file called "ROSE.PAL". If there is no matching palette file, or if it is the wrong type for the present display mode, the default colors are used. (See CLIP.DOC for more information on palette files.) By default the program will run in VGA 640x480 resolution if your system supports it, or in EGA 640x350 otherwise. You can force it into EGA mode by entering "/e" on the command line as the last argument. EXAMPLES: --------- C:>clipshow daisy The program will display "DAISY" from the current directory and will set the colors from "DAISY.PAL" if that palette file exists and is the right type for the default display mode. C:>clipshow \images\*.im blossoms /e The program will display all files in C:\IMAGES that have the extension ".IM", using the palette file "BLOSSOMS.PAL" from the same directory, and will run in EGA mode. The program looks for any BGI-format image files that match the filespec. To weed out non-image files, CLIPSHOW checks the file size against the image size calculated from the first two words in the file; so it will not read a file that has been appended to. To proceed to the next image, strike or . To quit the program, strike , , or . ===========================================================================