Function ecolor::linear_f32_from_linear_u8
source · pub fn linear_f32_from_linear_u8(a: u8) -> f32
Expand description
linear [0, 255] -> linear [0, 1]. Useful for alpha-channel.
pub fn linear_f32_from_linear_u8(a: u8) -> f32
linear [0, 255] -> linear [0, 1]. Useful for alpha-channel.