Time and viewing image sequences – Apple Shake 4 User Manual

Page 1016

Advertising
background image

1016

Appendix A

The Shake Command-Line Manual

To display images:

m

Type the name of the images, for example:

shake truck.iff bg.iff sign_mask.iff

Note: For instructions on how to use the Flipbook Viewer, see “

Previewing Your Script

Using the Flipbook

” on page 90.

To convert or save a file:

m

Append the -fileout, or -fo:

shake truck.iff -fo test.rla

The above command saves an image called test.rla in the .rla format. For a list of
supported formats and their extensions, see “

About Image Input

” on page 107.

To compare two images:

m

Load the first image and then the second after the -compare flag:

shake bg.iff -compare sign_mask.iff

On most operating systems, use Option-click or Alt-click to drag between the two
images. Press H, V, and F for horizontal, vertical, and fading wipes. For Linux systems,
you must Shift-Control-drag.

Time and Viewing Image Sequences

Shake assumes time is set to frame 1 unless you specify a time range. This is done with
the -t option, and a frame numbering symbol, such as:

shake alien/alien.#.iff -t 1-50

The frame numbering is substituted with a symbol (# in the above example) which
indicates that the file is padded to four places. The following table lists other symbols
that can be used in frame numbering.

Shake Format

Reads/Writes

image.#.iff

image.0001.iff, image.0002.iff, etc.

image.%04d.iff

image.0001.iff, image.0002.iff, etc.

[email protected]

image.1.iff, image.2.iff, etc.

image.%d.iff

image.1.iff, image.2.iff, etc.

image.@@@.iff, image.###.iff

image.001.iff, image.002.iff, etc.

image.%03d.iff

image.001.iff, image.002.iff, etc.

image.10-50#.iff

image.0010.iff at frame 1, 11 at frame 2, etc.

Advertising