CapsulithTHE IMAGE WORKBENCHCOMPILED PIXEL INSTRUMENT / 03

ARM64 / QOI / RGBA

Image / memory

Run the compiled codec. Inspect its pixels.
Reopen the native heap in a fresh worker.

NO IMAGE SELECTEDPNG / QOI · ≤256 × 256 · ≤1 MiB
Load & run the example, or open a PNG or QOI. All work stays in this browser.
01 / INPUT → ORIGINAL INSTRUCTIONS → PIXELS

Your image stays in this browser. No upload or native host loading.

Source image

WAITING
Orbit, the included multicolor spiral artwork

Orbit / prepared example

PNG preview only. Load & run example
executes the original QOI decoder.

No image has been decoded.

Returned pixels

RGBA / NATIVE

Native output, after execution.

Load the example or open an image.
No result has been computed yet.

Native output appears after execution.

A successful decode preserves this image allocation.

02 / AFTER THE DECODER WORKER ENDS

Saved image. Fresh worker.

Reopen the saved native allocation (its pixel memory), read its actual bytes, then execute the original free instructions.

  1. Decode an image
  2. Retain its pixel heap
  3. Reopen in a fresh worker

A successful decode retains the native pixel allocation after its worker closes.

No output bytes yet
Execution counters, QOI bytes & preservation scope

Observed work

Native instruction counts, memory access and instance identities appear after execution.

What this preserves

Actual RGBA bytes and an owned native allocation. The checkpoint records region state and limits at a completed method boundary. It does not capture arbitrary CPU or stack frames.

Prepared code, explicit scope. QOI (Quite OK Image) is a lossless image format. This is a bounded ARM64 QOI component, with declared calling contracts and memory imports. It does not infer object fields or load arbitrary native applications. PNG pixels and PNG downloads use browser image APIs; QOI encode/decode and restored allocation free use original compiled instructions. Pixel equality compares RGBA bytes, not original PNG file bytes.

QOI by Dominic Szablewski and contributors · MIT. Runtime emulation by Unicorn.js and Unicorn. Capsulith runtime GPL-2.0-only. Credits & provenance. Digests detect alteration; they do not authenticate image state or establish emulator security isolation.