Telerik.Windows.Documents.JpxDecodeUtils
Decodes JPEG 2000 (JPX) image bytes to raw interleaved component data.
Initializes a new instance of the class.
Gets or sets the maximum number of decoded bytes allowed for one image.
The maximum decoded byte count. The default is 256 MB.
This limit is enforced against an estimate of peak decode memory (final output size multiplied
by ), not just the final interleaved output size, because
The decode path allocates intermediate per-component buffers substantially larger than
the final output.
Attempt to decode JPX-encoded image bytes and return decoded data with metadata.
The encoded JPX image data.
Token used to cancel the decode operation.
Whether the decoder should apply color information embedded in the JPX data.
Decoded image data and metadata.
true if decoding succeeds; otherwise false.
Binds to the configured decoder API and exposes a single decode operation.
Implementations isolate decoder-specific access from .
Decode JPX-encoded image bytes using the underlying decoder API.
The encoded JPX image data.
Token used to cancel the decode operation.
Whether to apply color information embedded in the JPX data.
The decoded image, or null if the underlying decoder returned no image.
Codec-agnostic view of a decoded JPX image: dimensions, component count, and per-component sample access.
Wraps the underlying decoder image instance so callers never depend on decoder-specific types.
Decodes JPX images by calling the CoreJ2K API directly.