Function libjxl_sys::JxlEncoderStoreJPEGMetadata [−][src]
pub unsafe extern "C" fn JxlEncoderStoreJPEGMetadata(
enc: *mut JxlEncoder,
store_jpeg_metadata: c_int
) -> JxlEncoderStatus
Configure the encoder to store JPEG reconstruction metadata in the JPEG XL container.
The encoder must be configured to use the JPEG XL container format using @ref JxlEncoderUseContainer for this to have any effect.
If this is set to true and a single JPEG frame is added, it will be possible to losslessly reconstruct the JPEG codestream.
@param enc encoder object. @param store_jpeg_metadata true if the encoder should store JPEG metadata. @return JXL_ENC_SUCCESS if the operation was successful, JXL_ENC_ERROR otherwise.