@MichaelT
suppose that i have a set of rgb values... like
`$r=[48,57,65,72,79,86,91,96,104,109,115,122,132,143,154];
$g=[10,20,34,52,73,94,117,139,157,172,192,204,214,223,229];
$b=[41,34,87,115,139,163,185,204,219,230,238,244,247,250,252];`
how do i apply it on an image... i mean what actually happens when a curve adjustment i done... all i know is the x axis is input and y is output but how are the pixels manipulated?