rust-j2k 0.5.0

Decodes JPEG 2000 images in pure Rust, for programs that need to read them without linking a C library.
Documentation
{
  "image": {
    "width": 16,
    "height": 8
  },
  "tolerance": {
    "mode": "exact"
  },
  "components": [
    {
      "width": 16,
      "height": 8,
      "bit_depth": 8,
      "signed": false,
      "x_sampling": 1,
      "y_sampling": 1,
      "samples": [
        0,
        29,
        58,
        87,
        116,
        145,
        174,
        203,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        13,
        73,
        133,
        193,
        253,
        57,
        117,
        216,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        26,
        117,
        208,
        43,
        173,
        8,
        99,
        229,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        39,
        161,
        27,
        188,
        54,
        215,
        81,
        242,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        52,
        205,
        141,
        38,
        230,
        127,
        63,
        255,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        65,
        249,
        216,
        183,
        111,
        78,
        45,
        12,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        78,
        37,
        35,
        33,
        31,
        29,
        27,
        25,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        91,
        120,
        149,
        178,
        207,
        236,
        9,
        38,
        128,
        128,
        128,
        128,
        128,
        128,
        128,
        128
      ]
    }
  ],
  "provenance": {
    "source": "synthetic; generated by scripts/gen-zero-length-fixtures.py",
    "oracle_command": "opj_decompress -i zero_length_contribution.j2k -o out.pgx",
    "notes": "8x8 code-blocks over two layers whose contributions include coding passes with a length of zero; a block with every byte decodes to the source, the others in part or wholly from the 0xFF fill"
  }
}