View Single Post
Old 31st December 2004, 04:04   #1  |  Link
fccHandler
Registered Jedi
 
Join Date: Jan 2003
Location: Georgia, U.S.A.
Posts: 733
How to adjust RGB saturation?

I seem to have run into a brick wall here. I want to adjust the saturation of an RGB clip to 83% in Avisynth, and there doesn't seem to be any way to do it without converting to YUY2. I prefer not to do that because I'm trying to fit Avisynth into a larger processing chain and I don't want to downsample the chroma information at this stage in the chain. (It's a long story...)

The documentation mentions a function called "HSIAdjust" which existed in earlier versions, but was removed in favor of a newer "Tweak" function which only supports YUV. Did the "HSIAdjust" function support RGB? And if so, which was the last version of Avisynth to include it?

Is there any other way (besides Tweak) to adjust saturation in Avisynth, and keep the full RGB image?
__________________
May the FOURCC be with you...
fccHandler is offline   Reply With Quote