JxlEncoderStoreJPEGMetadata

Function JxlEncoderStoreJPEGMetadata 

Source
pub unsafe extern "C-unwind" fn JxlEncoderStoreJPEGMetadata(
    enc: *mut JxlEncoder,
    store_jpeg_metadata: JxlBool,
) -> JxlEncoderStatus
Expand 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