View Single Post
Old 3rd December 2004, 08:49   #1  |  Link
tedkunich
Potentate
 
Join Date: Mar 2003
Posts: 219
RGBLUT and APPLYRANGE problems

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:
Code:
RGBLUT(R=3,G=3,B=3,ampfile="E:\stills\6822.amp")
When I try to use this in ApplyRange with the following call:
Code:
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
Code:
JDL_ApplyRange(last,0,600,"""RGBLUT(ampfile="E:\stills\568.amp",R=3,G=3,B=3)""")

Thanks

Last edited by tedkunich; 3rd December 2004 at 08:59.
tedkunich is offline   Reply With Quote