Enable thumbnail caching. This is good for a 5X reduction in processing time when a single image is added or removed from a directory since thumbnails are cached in reduced form.
As an added benefit, WebMagick can share its cache with John
$opt_cacheformat= 'P7'; $opt_cachegeom = 80x60; $opt_cachedir = '.xvpics';
Sharing the cache with
Specify subdirectory name to cache thumbnails in (default `.cache').
Specify the format that cached thumbnails are saved in. Can be any format that ImageMagick knows how to read and write. The default is 'JPEG' which works well for photorealistic images.
Specifies the geometry specification for cached thumbnails. The default
is to use the value specified by
Specifies the original Image size (in total pixels) over which caching will be used. For images smaller than this size, WebMagick will use the original image in the Montage and no thumbnail will be cached. The default value is 60,000 which is equivalent to a 300 x 200 image.
Selecting a value for this option is a judgement call based on space vs time. If a small value is selected, the initial run will be slower and more disk space will be consumed by thumbnails. However, subsequent updates should be faster since more thumbnails are already reduced. If a large value is selected, then less disk space will be consumed, the first pass will be faster, and subsequent passes will be slower.
|Last modified: Saturday September 21, 2002 mailto:firstname.lastname@example.org|