View Single Post
Old 13th March 2008, 17:40   #3  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by mikeytown2 View Post
Code:
function KenBurnsEffect(string filename, int outWidth, int outHeight, int startPZFrame, int endPZFrame, int length, int startX1, int startY1, int startX2, int startY2, int endX1, int endY1, int endX2, int endY2, bool "fast", bool "qubic")
...
For some reason if you try to call the function with variable names in place it fails. filename="Stil\DSCN1091.JPG" fails.
That's because AviSynth only supports the 'named argument' syntax for 'optional' parameters (those names in quotes in the function definition).
Gavino is offline   Reply With Quote