pub fn jpeg_to_htj2k(
bytes: &[u8],
options: &JpegToHtj2kOptions,
) -> Result<EncodedTranscode, JpegToHtj2kError>Expand description
Transcode a constrained baseline grayscale JPEG tile into an HTJ2K codestream using direct DCT-domain wavelet coefficients.
Current implementation scope is baseline JPEG with one or more components
at native JPEG component resolution. Component subsampling is preserved
through SIZ XRsiz/YRsiz instead of chroma upsampling.