pub unsafe extern "C-unwind" fn JxlEncoderStoreJPEGMetadata(
enc: *mut JxlEncoder,
store_jpeg_metadata: JxlBool,
) -> JxlEncoderStatusExpand description
Configure the encoder to store JPEG reconstruction metadata in the JPEG XL container.
If this is set to true and a single JPEG frame is added, it will be possible to losslessly reconstruct the JPEG codestream.
This setting can only be set at the beginning, before encoding starts.
§Parameters
enc: encoder object.store_jpeg_metadata: true if the encoder should store JPEG metadata.
§Returns
JxlEncoderStatus::Successif the operation was successful.JxlEncoderStatus::Errorotherwise.