Function libjxl_sys::JxlDecoderSetRenderSpotcolors
source · [−]pub unsafe extern "C" fn JxlDecoderSetRenderSpotcolors(
dec: *mut JxlDecoder,
render_spotcolors: c_int
) -> 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 JXL_FALSE, then spot colors are not rendered, and have to be retrieved separately using @ref JxlDecoderSetExtraChannelBuffer. This is useful for e.g. printing applications.
@param dec decoder object @param render_spotcolors JXL_TRUE to enable (default), JXL_FALSE to disable. @return @ref JXL_DEC_SUCCESS if no error, @ref JXL_DEC_ERROR otherwise.