scaleLines

Performs scaling from 0..1 values to image pixel values.