beautypg.com

Apple Shake 4 User Manual

Page 1025

background image

Appendix A

The Shake Command-Line Manual

1025

Resizing Functions

Description

-addborders

Pads the image out with black around the edges.

-crop

Crops the image to the two corners you specify. The origin is in the
lower-left corner.

-fit

Resizes the image to the resolution you specify, maintaining the
aspect ratio.

-resize

Resizes the image to the resolution you specify.

-window

Crops the window at the specified lower-left corner, and to the
resolution you specify.

-z

A shortcut for Zoom; both X and Y are zoomed by the same
amount.

-zoom

Zooms the image in X and Y independently.

Filter Functions

Description

-blur [yPixels]

Blur

Transform Functions

Description

-flip

Turns the image upside down.

-flop

Turns the image backward.

-pan

Pans the image.

-rotate

Rotates the image.

-scale

Scales the image without changing the resolution.

Video Field Functions

Description

-deinterlace [mode]

Deinterlaces the image. 0 equals the even field, 1 equals the odd
field. For mode:

0 = replication of the line below.

1 = interpolation of the missing line between two lines above and
below.

2 = blur. 50 percent of the line, 25 percent each of the two lines
above and below the missing line.

-evenonly

Example:

shake bg.iff -rotate 45 -evenonly
bg.iff

Executes the previous commands on the even fields of the image,
and mixes it back in with the image you list.

-field

Extracts just one field, creating a half-height image. 0 = even field,
1 = odd field.

-fldr

Activates field rendering. 1 = odd/PAL, 0 = even/NTSC.