pub unsafe extern "C-unwind" fn JxlEncoderSetDebugImageCallback(
frame_settings: *mut JxlEncoderFrameSettings,
callback: JxlDebugImageCallback,
opaque: *mut c_void,
)Expand description
Sets the given debug image callback that will be used by the encoder to output various debug images during encoding.
This only has any effect if the encoder was compiled with the appropriate debug build flags.
ยงParameters
frame_settings: set of options and metadata for this frame. Also includes reference to the encoder object.callback: used to return the debug image.opaque: user supplied parameter to the image callback.