Fun things to do with computers and photographs
Random header image... Refresh for more!

Image IDs and tags

Images are specified on the photohack command line by entering the “friendly” image ID, and/or by entering images tags. Image IDs and tags can be mixed freely. Image IDs and tags can be provided as arguments to the following commands: generate, options, reject, tags, title, and variant.

IDs

The following syntax is used to select images. Any invalid image IDs will be ignored.

35
Specify a specific image.
47a
Specify an image variant. Image variants are named 47a, 47b, and so on.
47+
Specify all variants of an image.
1724
Specify a range of images. In this example, all valid IDs between 17 and 24 are specified. Note that this syntax specifies only the base image (no variants).

tags

An image can have any number of tags. A tag must start with a letter or underscore, and can contain letters, underscores, and numbers. Multiple tags can be provided to all commands that accept tags.

tag
Select all images that have the given tag.