MoonJLS

Sample-verifiable JPEG-LS Workbench

2–16-bit · ILV=0/1/2 NEAR up to 255 Build — Local processing
Multicomponent physical exchange

Choose 2–4 unsigned PGM or U16 RAW planes with matching geometry. Combined input is limited to 4 MiB.

Import and set component budgets

Each group lists component IDs followed by / and the interleave. Vertical bars separate scans.

    No source

    Choose a file or load the sample to begin.

    —
    —

    Image preview

    P
    MAXVAL
    NEAR
    T1
    T2
    T3
    RESET
    Original

    Select a PGM/JLS source or load the 16-bit sample, then run.

    No reference PGM

    Reconstruction

    Select a PGM/JLS source or load the 16-bit sample, then run.

    Absolute error

    Select a PGM/JLS source or load the 16-bit sample, then run.

    No reference PGM · Standalone JLS decode verifies stream termination only and does not produce a zero-error map.

    Absolute error · integer sample units —
    —

    False color highlights tiny integer differences for inspection and does not indicate image corruption. Scale is fixed to this task’s integer NEAR units.

    Integer Inspector

    Preview sample · ≤ 480×320

    Click an image pixel, or focus a preview and use the arrow keys. Values reflect saved preview samples.

    Coordinate —
    Original —
    Reconstructed —
    Abs error —
    Task NEAR —

    Select a pixel to read its integer samples.

    This run

    —
    JLS bytes —
    Raw storage —
    Raw / JLS —
    1 B/8-bit · 2 B/12–16-bit
    Max absolute error
    —
    Awaiting completion
    In-page processing time —
    First Canvas update —
    Streaming resources
    Input cap / output cap (elements / bytes)
    Bytes staged to encode / decode Workers
    Output bytes accepted by sink
    Delivered / provisional rows
    Worker first-row time
    Worker event ACKs sent
    Longest host callback through ACK
    Core logical payload · encode / decode Observed
    —
    Decode Worker queues · input / output Observed
    —
    Host whole-image / PPM conversion buffer Observed
    —
    Preview integer sample buffer Observed
    —
    Reference window configuration limit Config limit
    64 KiB
    Buffered download payload limit Config limit
    64 MiB
    Pipeline schematic
    Chunk read Wasm / JS Worker Sample verify / ACK Sink write & close

    Browser measurements report logical payloads. Bounded verification discards the processed output.

    Native ILV=1/2 planar encoding uses bounded read-ahead for H=V=1 regular files. For stdin or a FIFO, the explicit spool policy bounds RAM using temporary disk space. The default sequential path retains the whole planar input. Native large-raster exchange uses row buffers and bounded disk staging.

    Native planar time and memory measurements
    Scan Structure Inspector

    —

    SOF55 component table

    # ID Label / Role H×V Dimensions

    Parsed scans (click to inspect component)

    Scan Component NEAR MAXVAL / T1..T3 / RESET Byte range Status

    Marker stream layout

    Compatibility

    Build — · Source · Build metadata · Support scope

    The workbench covers 2–16-bit JPEG-LS Part 1 with ILV=0/1/2 and unmapped Pt. Decode also handles H/V sampling, deferred height (DNL), and abbreviated images with an attached C.4 table stream.

    The workbench previews scalar mapping values and can export opaque multi-byte rows. NEAR applies to the coding-domain indices.

    In-page runs reflect current workbench execution; table rows below read archived independent reference verification (tests/conformance/manifest.json).

    Machine-readable conformance manifest
    Feature Clause Encode / decode / format Tests and evidence
      Format scope & measurement notes

      Starts after the sink opens. Includes validation and output close. Excludes file and save-location selection and sink setup. First Canvas update is when the first reconstruction draw returns.

      Raw storage uses 1 byte per 8-bit sample and 2 bytes per 12- or 16-bit sample.