itkwasm_htj2k.decode¶ Module Contents¶ Functions¶ decode Decode a High Throughput JPEG2000 codestream and generate an ITK Image API¶ itkwasm_htj2k.decode.decode(codestream: bytes, decomposition_level: int = 0, information_only: bool = False) → itkwasm.Image¶ Decode a High Throughput JPEG2000 codestream and generate an ITK Image Parameters: codestream (bytes) – Input HTJ2K codestream decomposition_level (int) – Decomposition level to decode. 0 is the highest resolution. information_only (bool) – Only read metadata for the image but do not decode the pixel data. Returns: Output image Return type: Image