gallery.icn: Program to display many images at once

May 27, 2008; Gregg M. Townsend
Requires: Version 9 graphics
This file is in the public domain.
Usage:  gallery [-{whs}nnn] [-{rmtud}] file...

Gallery displays multiple images in a single window.  The images
are shrunken by resampling and tiled in columns or rows.

GIF and XPM format images are always supported.  JPEG format is
supported when built by Jcon.  JPEG, PPM, TIFF, PNG, and RLE formats
are also available under Unix if the necessary conversion utilities
are available in the shell search path.

When the window fills, diagonal lines in the extreme corners of the
window indicate that you can press Enter for the next screenful.
Solid triangles appear when there are no more images; press Q to exit.

At either of those pauses, pressing 'S' brings up a dialog for saving
a snapshot of the window.  Clicking the left mouse button on an
image displays a popup window with information about the image.  A
second click dismisses the popup, as does the space bar or Enter key.
The right mouse button activates the same popup momentarily until
the button is released.

-wnnn sets the minimum thumbnail width.  The default is 32.
-hnnn sets the minimum thumbnail height.  The default is 32.
-snnn sets the minimum height and width together.

-r arranges images in rows instead of columns.
-m maximizes the window size before displaying images.
-t trims file names of leading path components and extensions.
-u shows images completely unlabeled.
-d prints some debugging information.

The standard Window() options are accepted and can be used to
set the window size and other parameters.  A default gamma value
of 1.0 can be changed by using (e.g.) "-A gamma=1.6".

-cn and -gn options, which formerly selected a color palette,
are now ignored.

Source code | Program Library Page | Icon Home Page