Function linear_xfer_u16

Source
pub fn linear_xfer_u16(c: &mut u16)
Expand description

Applies a linear transfer function to a 16-bit unsigned integer color component.

This function simulates the gamma correction process by raising the component to the power of 2.2.

Converts from sRGB to linear color space.