View Single Post
Old 25th March 2011, 15:57   #6  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by Didée View Post
Replacing all "256" with "236 16 -", and all "x" or "y" with "x 16 -" and "y 16 -" respectively, should result in a correct screen formula for 16-235 TV scale.
Not quite. You also have to add 16 back into the final result, requiring " 16 +" at the end.
Quote:
Originally Posted by Dogway View Post
U and L are just the variables. I posted them as they were in the webpage for reference. I wondered if that ".../255 ***" meant something, although it didnt got me an error.
One of the 'features' of Masktools is that it does not check the validity of expressions and just returns garbage (or crashes) instead of reporting an error.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote