Gamma-transform 8 bit inputs directly.