Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Image

QOI Inspector

Drop in a Quite OK Image format file (.qoi) and inspect its compact lossless structure. The tool verifies the qoif magic, reads the image width and height (big-endian), the channel count (3 for RGB or 4 for RGBA) and the colorspace (sRGB or linear alpha), then walks the stream of pixel opcodes between the header and the eight-byte end marker. It decodes each of the six opcode families: QOI_OP_RGB, QOI_OP_RGBA, QOI_OP_INDEX, QOI_OP_DIFF, QOI_OP_LUMA and QOI_OP_RUN, reporting how many pixels each opcode emits, and it tallies the opcode histogram and the total number of decoded pixels. The tool flags the classic problems: a bad magic, an unexpected width or height of zero, an unsupported channel count, a run or index opcode that would decode past the declared pixel count, trailing bytes after the end marker, a missing end marker, and a truncated file. Everything runs on-device.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Drop a file here, or browse

Accepts: .qoi,image/x-qoi,application/octet-stream

Files stay on your device.

Ctrl+V to paste an image

    Options

    Drop a file above to begin

    Your file are processed on this device and never uploaded.

    How it works

    What it does

    Drop in a Quite OK Image format file (.qoi) and the tool inspects its compact lossless structure. It verifies the qoif magic, reads the image width and height (big-endian), the channel count (3 for RGB or 4 for RGBA) and the colorspace (sRGB or linear alpha), then walks the stream of pixel opcodes between the header and the eight-byte end marker. Parsing is entirely on-device; nothing is uploaded.

    The opcode families

    QOI stores pixels as six opcode families: QOI_OP_RGB, QOI_OP_RGBA, QOI_OP_INDEX, QOI_OP_DIFF, QOI_OP_LUMA and QOI_OP_RUN. The tool decodes each one and reports how many pixels it emits, then tallies the opcode histogram and the total number of decoded pixels, so you can see whether a file is dominated by runs (smooth areas) or per-pixel RGB updates.

    The problems it flags

    The inspector catches the classic structural faults: a bad magic, an unexpected width or height of zero, an unsupported channel count, and a run or index opcode that would decode past the declared dimensions. That makes it a quick sanity check on a .qoi that came from an unusual encoder or a partial download.

    Questions

    Is my file uploaded?

    No. The QOI header and opcode stream are parsed entirely on-device in this tab, with no network calls.

    What do the channel count and colorspace mean?

    The channel count is 3 for RGB or 4 for RGBA, and the colorspace flag is sRGB or linear alpha. Together they describe how the stored pixels should be interpreted.

    What is an opcode histogram?

    Every pixel in the stream is encoded with one of the six QOI opcode families. The histogram counts how many pixels each family produced, showing at a glance whether the image compresses well and which encoding the encoder relied on.

    Why would a run opcode be a problem?

    A run opcode repeats the current pixel value and must not extend past the declared number of pixels. If it would decode beyond the width-by-height total, the file is malformed, and the tool flags it.

    See category