JxlDecoderSetRenderSpotcolors

Function JxlDecoderSetRenderSpotcolors 

Source
pub unsafe extern "C-unwind" fn JxlDecoderSetRenderSpotcolors(
    dec: *mut JxlDecoder,
    render_spotcolors: JxlBool,
) -> JxlDecoderStatus
Expand description

Enables or disables rendering spot colors. By default, spot colors are rendered, which is OK for viewing the decoded image. If render_spotcolors is JxlBool::False, then spot colors are not rendered, and have to be retrieved separately using JxlDecoderSetExtraChannelBuffer. This is useful for e.g. printing applications.

§Parameters

§Returns