I'm writing a quick helper function that coverts a JPEG compression level selected by a user [9=no compression, 1=maximum compression] to the value accepted by the function that does the compression [0=no compression, 255=maximum compression]. So anyways you could draw 0-9 on a the x-axis of a graph and 0-255 on the y-axis, then draw the line. So what is the equation of the line?? I feel like a blithering idiot that I don't remember how to do this, so to all you high school math students out there please lend a hand!!
Thanx!
Thanx!