Despill macro, Keychew macro, Transform macros – Apple Shake 4 User Manual
Page 994: Autofit macro
994
Chapter 32
The Cookbook
DeSpill Macro
The HueCurves node has a problem with processing float values. This macro mimics
Keylight’s spill suppression, allowing you to pick a spill color.
KeyChew Macro
This is intended to give a more natural chewing or expansion of the matte edge than
the result from DilateErode. This macro works only on the alpha channel. It also
eliminates any mid-range alpha areas (reflections and shadows).
Note: This clamps your alpha channel to between 0 and 1, so be careful with float
images. It maintains your float RGB channels properly.
Transform Macros
The following macros give you additional options when transforming images.
AutoFit Macro
This macro resizes an element if you only know one dimension of the output and you
have to figure out the second one. You can use it in the command line. The second
parameter determines what the first parameter specifies. You can provide either w, h, or
0 (width) or 1 (height):
shake woman.sgi -autofit 2048 w
Chewing in, DilateErode
Chewing in, KeyChew
Expanding out, DilateErode
Expanding out, KeyChew