PDA

View Full Version : How to increase contrast


magilvia
5th February 2004, 10:26
The online manual
http://www.avisynth.org/index.php?page=ColorYUV
states "Contrast adjusts contrast of the specified channel. Values are the mapped the same way as Gamma."
But if I use a script like this:

ColorYUV(contrast_y=256, contrast_u=256, contrast_v=256)

I get the error:
Script error: ColorYUV does not have a named argument "contrast_y"

So what syntax should I use?
Thanks

Wilbert
5th February 2004, 11:41
Try

ColorYUV(cont_y=256, cont_u=256, cont_v=256)

magilvia
5th February 2004, 11:53
Thank you Wilbert for the quick answer.
I've not been that smart after all, but the online manual is not too much verbose, isn't it ?

Thanks again :D

mf
5th February 2004, 13:50
Originally posted by magilvia
Thank you Wilbert for the quick answer.
I've not been that smart after all, but the online manual is not too much verbose, isn't it ?

Thanks again :D
Indeed. I encountered this while I was an AVISynth n00b, but now I don't have any problems with it anymore. It'll pass! :)