10-Bit & 12-Bit Color Check10-bit [0..1023] -> 8-bit ramp audit (identity-ramp10.avif)

AVIF High-Bit-Depth (10-Bit / 12-Bit) Quantization Inspector

Inspect av1C and pixi source bit depth (8/10/12-bit), read native high-depth ramp codes, and verify 8-bit PNG quantization residuals.

Drop an AVIF or JPEG XL image to convert instantly

Still or animated · up to 25 MB / 36 MP · stays on your device

Processing Details· Automatic transparency & color accuracy
Verified Sample · CC0-1.0Sample file: identity-ramp10.avif (431 B)

Verified Sample Result & Instant Demo

Try Sample File in 1 Click

Does 10-bit identity-ramp10.avif map across all 16 columns to exact round(sample*255/1023) 8-bit levels with zero quantization residual?

Source AV1 Bit Depth
10bits
Full-Range Peak Code
1023code
Mapped 8-Bit Ramp
0,17,34,51,68,85,102,119,136,153,170,187,204,221,238,255u8
Max Rounding Residual
0levels
Cryptographic SHA-256 & Engine Provenance
Sample Input File
identity-ramp10.avif · 431 bytes · CC0-1.0
Browser Codec Engine
@jsquash/avif 2.1.1
Input SHA-256 Digest
176da4abe9ff012182811ed377428cfb1a212ff338ef1f9d5964fded1ea44f89
Engine Artifact SHA-256
5c35dde23dfd862088a49a6b8a9fe81f9f9a1a46aaa27de7efd7baa7611c4b47
Reference Verification
AV1 High-Profile 10-Bit Ramp 1.0
Schema & Preset ID
avif.aviftopngtool.avif-bit-depth.v1 · avif-bit-depth-ramp · proj-10bit-to-8bit-ramp

Verifying 10-Bit and 12-Bit AVIF Sample Scaling into Standard 8-Bit PNGs

Reading pixi and av1C High-Bitdepth Flags Without Truncation Bias

Modern camera pipelines and gradient-heavy UI artwork frequently encode AVIF stills at 10-bit (0..1023) or 12-bit (0..4095) precision to suppress sky and shadow banding in AV1 Main or Professional profiles. When down-converting high-bit-depth buffers to standard 8-bit RGBA PNG, naive bit-shift truncation (sample >> 2) systematically biases bright highlights downward—mapping full-white 1023 to 255 only at the peak while shifting midtones by up to one full 8-bit step.

Our Bit Depth Inspector parses both the ISOBMFF pixi channel-depth array and the av1C decoder configuration record, then executes a dual-pass libavif WASM decode: one 16-bit pass to recover exact source code words and one 8-bit pass to verify unbiased round(sample * 255 / ((1 << depth) - 1)) scaling across horizontal test columns.

  • Cross-checks ISOBMFF pixi channel declarations against av1C high_bitdepth and twelve_bit flags.
  • Displays column-by-column native code words alongside quantized 8-bit output levels and absolute residuals.
  • Confirms endpoint preservation (0 -> 0 and 1023 -> 255) on full-range identity ramps.

Common Questions & Answers

Does a 10-bit AVIF always mean the image is HDR?

No. Many 10-bit AVIF files use standard sRGB transfer characteristics (CICP 13) solely to prevent 8-bit YCbCr gradient banding while remaining SDR.

How is source bit depth determined before pixel decoding begins?

The bounded ISOBMFF sniffer inspects both the ipco/pixi per-channel bit array and the av1C sequence profile bitflags.

100% Private In-Browser Processing

Verified local execution

  • Zero Cloud Uploads

    Your files stay on this device and are never sent to any remote server.

  • Instant Local Speed

    Runs directly on your device up to 25 MB with no upload queue.

  • No Account Needed

    Open a file, inspect your preview, and download immediately without signing up.

View Security Architecture
Execution Sandbox
Dedicated Web Worker
Post-Init Network
Locked (0 Egress)
Max File Budget
25 MB
Cross-Origin Isolation
Single-Thread WASM

After local WebAssembly initialization, Worker network APIs (fetch, XMLHttpRequest, WebSocket) are locked to prevent outbound data egress.