Function create_tone_mapper_rgba

Source
pub fn create_tone_mapper_rgba(
    input_color_space: &ColorProfile,
    output_color_space: &ColorProfile,
    method: ToneMappingMethod,
    working_color_space: MappingColorSpace,
) -> Result<Box<SyncToneMapper8Bit>, ForgeError>
Expand description

Creates an RGBA8 tone mapper. ICC profile do expect that for HDR tone management CICP tag will be used. Tone mapper will search for CICP in ColorProfile and if there is some value, then transfer function from CICP will be used. Otherwise, we will interpolate ICC tone reproduction LUT tables.