tedkunich
3rd December 2004, 08:49
Trying to use Applyrange and RGBLUT to selectively apply color corrections to a home movie. Due to a bug/feature in RGBLUT, I have to pass three named parameters and a string to the function. A regular function call would be like this:
RGBLUT(R=3,G=3,B=3,ampfile="E:\stills\6822.amp")
When I try to use this in ApplyRange with the following call:
ApplyRange(0,600,"RGBLUT",R=3,G=3,B=3,ampfile="E:\stills\568.amp")
I get an error that "Applyrange does not have a named argument "R""
Is there a trick to get this thing to work?
If it were not for the bug where RGBLUT only applied the AMP file to the red channel, I could eliminate the named arguments and it would work. I have tried stickyboy's wrapper function without success as well.
[EDIT]
figured it out... used stickyboy's wrapper and then triple quoted the function call JDL_ApplyRange(last,0,600,"""RGBLUT(ampfile="E:\stills\568.amp",R=3,G=3,B=3)""")
Thanks
RGBLUT(R=3,G=3,B=3,ampfile="E:\stills\6822.amp")
When I try to use this in ApplyRange with the following call:
ApplyRange(0,600,"RGBLUT",R=3,G=3,B=3,ampfile="E:\stills\568.amp")
I get an error that "Applyrange does not have a named argument "R""
Is there a trick to get this thing to work?
If it were not for the bug where RGBLUT only applied the AMP file to the red channel, I could eliminate the named arguments and it would work. I have tried stickyboy's wrapper function without success as well.
[EDIT]
figured it out... used stickyboy's wrapper and then triple quoted the function call JDL_ApplyRange(last,0,600,"""RGBLUT(ampfile="E:\stills\568.amp",R=3,G=3,B=3)""")
Thanks