HTJ2K decoding in the browser using Webassembly

# HTJ2K decoding in the browser using WASM (with or without SIMD)

    This webpage employs WASM SIMD if your browser supports it -->

    Decoding the full resolution image.

    Decode time:

# HTJ2K progressive decoding to the actual image resolution

    This example shows that one source image can be used for multiple reconstructed resolutions.
    The client/browser can decide, depending on the rendering resolution, the number of bytes to load and decode for a given image.

    Note: Below each image, we display the number of decoded bytes

    Decoded
    Bytes
    Time

    826
    bytes
     ms

    2312
    bytes
     ms

    5977
    bytes
     ms

    13022
    bytes
     ms

    22005
    bytes
     ms

    32553
    bytes
     ms

# HTJ2K progressive decoding to full resolution (downloaded once, decoded many ways)

    This example shows the progressive decoding of JPEG2000.
    Image quality improves as more data arrives. This is better than waiting for the whole image to arrive before decoding it.

    Note: Below each image, we display the number of decoded bytes and PSNR.

    Decoded Bytes: 826 bytes
    Decoded Bytes: 2312 bytes
    PSNR: 16.96 dB
    PSNR: 18.25 dB
    Decode Time:
    Decode Time:
    Decoded Bytes: 5977 bytes
    Decoded Bytes: 13022 bytes
    PSNR: 21.21 dB
    PSNR: 25.46 dB
    Decode Time:
    Decode Time:
    Decoded Bytes: 22005 bytes
    Decoded Bytes: 32553 bytes
    PSNR: 30.82 dB
    PSNR: 37.13 dB
    Decode Time:
    Decode Time: