PercentBlur
Function
This is blurs the image according to a percentage factor, rather than
a pixel size. Therefore, 100% means blurring with the entire image in
the blur calculation.
Parameters
|
Type
|
Defaults
|
Function
|
percent |
float
|
0 |
Percent of the image taken into consideration
for the Blur. 100 = the entire image, or a flat color. Default is
0. |
spread |
int
|
0 |
This tells shake to consider outside of the frame or not.
0 = Compute within the frame (default)
1 = Compute outside of the frame
Because of the infinite workspace, it is sometimes handy to compute
outside of the frame as well, for example, if the Blur is placed
after a Scale command. Note that if nothing is outside of the frame
(ie, black), you will see a black edge.
|
channels |
string
|
"rgba" |
Which channels Shake should blur. Any or
all of rgba. |
Synopsis
image PercentBlur(
image,
float percent,
int spread,
const char * channels
);
Script
image = PercentBlur( image, percent, spread, "channels" );
Command Line
shake -percentblur percent spread
See Also
Blur
|