pub unsafe extern "C-unwind" fn JxlDecoderSetRenderSpotcolors(
dec: *mut JxlDecoder,
render_spotcolors: JxlBool,
) -> JxlDecoderStatusExpand 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
dec: decoder objectrender_spotcolors:JxlBool::Trueto enable (default),JxlBool::Falseto disable.
§Returns
JxlDecoderStatus::Successif no error,JxlDecoderStatus::Errorotherwise.