CapsulithTHE IMAGE WORKBENCH03 / NATIVE CODE, VISIBLE

A COMPILED CODEC. A PORTABLE IMAGE.

Keep the pixels.
Carry the code.

Turn a PNG into QOI with original compiled instructions. Decode it in a fresh worker. Compare every pixel byte, preserve the native image heap, and reopen it.

QOI is the Quite OK Image format, a lossless image codec. This workbench uses its prepared ARM64 implementation through UnicornWasm.

NO IMAGE SELECTEDPNG / QOI · ≤256 × 256 · ≤1 MiB
Choose your image or load the original artwork example.
01 / INPUT → ORIGINAL INSTRUCTIONS → PIXELS

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

Source image

WAITING

Your image, one pixel at a time.

Open a PNG or QOI to begin.

No image has been decoded.

Returned pixels

RGBA / NATIVE

Original instructions. Actual output.

Awaiting a successful native call.

Native output appears after execution.

No output bytes yet
02 / AFTER THE ORIGINAL WORKER ENDS

An image with a past.

Keep the native pixel allocation at its guest address. Restore it in a fresh worker, read the actual bytes, then execute native free.

A successful decode captures the pixel heap for this explicit recovery path.

Prepared code, explicit scope. 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.