View Single Post
Old 4th February 2009, 13:02   #7  |  Link
zee944
Registered User
 
Join Date: Apr 2007
Posts: 240
Quote:
Originally Posted by IanB View Post
Given you seem to be working in [0..255] RGB, perhaps you would be better off using :-
RGBLUT (clip, string "Rexpr", string "Gexpr", string "Bexpr", string "AMPFile")

The conversion from RGB to YV12 and back in not lossless.

RGBLUT is in the older 1.5 Masktools.dll
Mmmm... how do I change the luma with RGBLUT? I have to do weighted R, G, B adjustment for that, or is there more simple way?

Perhaps it'd better stay in the YV12 colorspace all the way. Is there a command to easily adjust the Y, U, V channels? A YUVAdjust() would be the best instead of RGBAdjust()
zee944 is offline   Reply With Quote