View Full Version : LanczosResize Parameters
JohnMK
29th September 2002, 05:34
Hello,
The documentation says:
LanczosResize(clip, int target_width, int target_height)
What's "clip?" Do I really need to put something there?
stickboy
29th September 2002, 06:20
Notice that almost all functions take clip as a first argument. It's optional; if you don't specify an input clip, it's implicitly set to last. It's there in case you want to use functional syntax.
ie:
AVISource("foo.avi")
LanczosResize(320, 240)
is really:
last=AVISource("foo.avi")
LanczosResize(last, 320, 240)
and is equivalent to:
LanczosResize(AVISource("foo.avi"), 320, 240)
or alternatively:
AVISource("foo.avi").LanczosResize(320, 240)
Also see Ben Rudiak-Gould's original Avisynth tutorial (http://math.berkeley.edu/~benrg/avisynth-tutorial.html).
JohnMK
29th September 2002, 06:43
Thank you very much for your time Sir. :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.