pub fn decode_jpeg2000_using_hook(
data: &[u8],
size: u32,
buf: &mut [u8],
allocation_limit: u64,
) -> ImageResult<()>Expand description
A function of type SubformatDecodeFn that tries to decode the jpeg 2000 image
using the image crate’s decoding hooks.
This will only work if a format hook for JPEG 2000 has been registered.