The ansel-generate-cache binary updates Ansel’s thumbnail cache. Invoke this program to generate all missing thumbnails in the background when your computer is idle.

ansel-generate-cache can be called with the following command line parameters:

1ansel-generate-cache
2              [-h, --help]
3              [--version]
4              [--min-mip <0-8>] [-m, --max-mip <0-8>]
5              [--min-imgid <N>] [--max-imgid <N>]
6              [--core <Ansel options>]

All parameters are optional. If started without parameters ansel-generate-cache uses reasonable defaults.

-h, --help
Display usage information and terminate.
--version
Display copyright and version information and terminate.
--min-mip <0-8>, -m, --max-mip <0-8>
Ansel can store thumbnails with up to eight different resolution steps for each image. These parameters define the maximum resolution to be generated (defaults to a range of 0-2). There is normally no need to generate all possible resolutions here – missing ones will be automatically generated by Ansel the moment they are needed. When asked to generate multiple resolutions at once, the lower-resolution images are quickly downsampled from the highest-resolution image.
--min-imgid <N>, --max-imgid <N>
Specifies the range of internal image IDs from the database to work on. If no range is given, ansel-generate-cache will process all images.
--core <Ansel options>
All command line parameters following --core are passed to the Ansel core and handled as standard parameters. See the Ansel binary section for a detailed description.