Skip to main content

JxlColorEncodingSetToSRGB

Function JxlColorEncodingSetToSRGB 

Source
pub unsafe extern "C" fn JxlColorEncodingSetToSRGB(
    color_encoding: *mut JxlColorEncoding,
    is_gray: c_int,
)
Expand description

Sets a color encoding to be sRGB.

@param color_encoding color encoding instance. @param is_gray whether the color encoding should be gray scale or color.