Functions Index :: F :: FilterChain

[<< up one level]

Module:

filters :: utility

Definition:

FilterChain(clip c, string filter, int times, string "fparams")

Description:

Applies filter with arguments (c, fparams) times times. fparams must contain the arguments to be passed to filter as an argument list (separated with commas).

Notes and conditions on arguments relations:

1]: If fparams is not supplied or is "" then filter is called with clip c as its sole argument.

2]: If times is zero or less the filter returns c unmodified.

3]: The first filter's argument (clip c) must not be included in fparams.

Examples:

# make a large gaussian blur by applying Blur 100 times

clp = clp.FilterChain("Blur", 100, "1.57")

# Reduce by 16

clp = clp.FilterChain("Reduceby2", 4)

 

[<< top]