Functions Index :: F :: FilterChain

[<< up one level]


filters :: utility


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


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.


# 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]