wiki:batch

Version 1 (modified by bpt, 13 years ago) ( diff )

--

Batch Transforming Images

There are a number of ways to create multiple output images in a batch.

Make sequence

Make sequence transforms a single image in a number of steps. You are prompted for the start and end values and the number of steps to use. Currently the shape, colour and texture is transformed in equal amounts at each step.

Batch transform

Batch transform performs the same transform, as defined by the left and right images, slider settings and transform options etc., to a collection of images (with templates) defined in a 'standard' text file (listing the image and template name on each line).

Super batch transform

Super batch transform uses a text file which specifies a single or sequence of transforms on each line. The columns it is looking for are:

subject file name (i.e. Transform window) source file name (i.e. left hand window) target file name (i.e. right hand window) start amount end amount number of steps output file name shape boolean value (0 or 1) colour boolean value (0 or 1) texture boolean value (0 or 1) mask boolean value (0 or 1) sample boolean value (0 or 1) resize scale (float) The file names should be provided without an extension and the script only works with .jpg images and .tem templates (the extension is appended). If a mask file has been previously loaded it will be used where requested, if not you will be prompted for a mask file on the first line masking is requested. Scaling of the subject image and template is applied (if not 1) after loading the image (before applying the transform).

Note: See TracWiki for help on using the wiki.