pub(crate) fn unmultiply_u8_color(color: u8, alpha: NonZeroU8) -> u8Expand description
Returns color * 255 / alpha rounded to nearest: the inverse of multiply_u8_color
for any color up to alpha.
pub(crate) fn unmultiply_u8_color(color: u8, alpha: NonZeroU8) -> u8Returns color * 255 / alpha rounded to nearest: the inverse of multiply_u8_color
for any color up to alpha.