Selective work
Images, regions and thumbnails
Decode full images or regions. Frequency-mode inputs support native one-quarter and one-sixteenth width-and-height output without reconstructing unneeded higher-frequency bands on the CPU.
JPEG XR / JXR / Rust
jxr inspects and decodes JPEG XR codestreams and Annex-A still-image files with a portable CPU baseline and optional CUDA or Apple Metal reconstruction.
01 / Decode
Inspect before decoding, select an explicit output representation, and preserve the metadata needed by the surrounding imaging application.
Selective work
Decode full images or regions. Frequency-mode inputs support native one-quarter and one-sixteenth width-and-height output without reconstructing unneeded higher-frequency bands on the CPU.
Native representation
Request grayscale, RGB/BGR, CMYK, multichannel, planar YUV, integer or floating-point samples. Preserve integrated or separate alpha and access embedded ICC profile bytes.
Throughput
Prepare inputs once, group compatible shapes and reuse CPU workers or GPU sessions. Supported GPU output can remain resident for downstream device workflows.
02 / Boundaries
Raw JPEG XR codestreams and Annex-A still-image files are supported within the published Main-profile syntax boundary.
Package an existing raw codestream with validated metadata and optional separate alpha. Inspection exposes dimensions, tiling, orientation and color information.
Pixel-to-codestream encoding, Advanced-only output syntax, Annex-F/HEIF sequences and transcoding are outside the current scope.
Exact supportUse the maintained JPEG XR support guide for format, output and backend coverage.
03 / Install
The default build needs no GPU runtime or reference codec. Add an integration crate only when the application needs that surface.
$ cargo add jxrInspection, full-image, region, reduced-resolution and batch APIs.
$ cargo add jxr-image $ cargo add jxr-mpsgraph
Transfer supported buffers to the image crate or Apple MPSGraph.