Apple Shake 4 User Manual
Page 1025
Appendix A
The Shake Command-Line Manual
1025
Resizing Functions
Description
-addborders <xBorder>
<yBorder>
Pads the image out with black around the edges.
-crop <left> <bot> <right>
<top>
Crops the image to the two corners you specify. The origin is in the
lower-left corner.
-fit <xRes> <yRes>
Resizes the image to the resolution you specify, maintaining the
aspect ratio.
-resize <xRes> <yRes>
Resizes the image to the resolution you specify.
-window <left> <bot> <xRes>
<yRes>
Crops the window at the specified lower-left corner, and to the
resolution you specify.
-z <zoom>
A shortcut for Zoom; both X and Y are zoomed by the same
amount.
-zoom <xZoom> <yZoom>
Zooms the image in X and Y independently.
Filter Functions
Description
-blur <xPixels> [yPixels]
Blur
Transform Functions
Description
-flip
Turns the image upside down.
-flop
Turns the image backward.
-pan <xPan> <yPan>
Pans the image.
-rotate <angle>
Rotates the image.
-scale <xScale> <yScale>
Scales the image without changing the resolution.
Video Field Functions
Description
-deinterlace <field> [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 <image>
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 <field>
Extracts just one field, creating a half-height image. 0 = even field,
1 = odd field.
-fldr <field>
Activates field rendering. 1 = odd/PAL, 0 = even/NTSC.