pub fn jpeg_decode_callback() -> JpegDecodeCallbackExpand description
Create an ICC-aware decode callback for use with EvalSession::add_codec_with_decode.
This returns a boxed callback that can be passed directly to codec registration.
§Example
ⓘ
use codec_eval::{EvalSession, decode::jpeg_decode_callback};
session.add_codec_with_decode(
"my-codec",
"1.0.0",
Box::new(my_encode_fn),
jpeg_decode_callback(),
);