Clean Edge & Halo CheckSide-by-side #000000 | #ffffff split proof (straight-edge.avif)

AVIF Edge Halo & Double-Premultiplication Proof

Compare semi-transparent AVIF edges composited over pure black (#000000) and pure white (#ffffff) side-by-side to diagnose dark fringing.

Drop an AVIF or JPEG XL image to convert instantly

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

Background Fill:
Processing Details· Automatic transparency & color accuracy
Verified Sample · CC0-1.0Sample file: straight-edge.avif (539 B)

Verified Sample Result & Instant Demo

Try Sample File in 1 Click

How many 8-bit RGB code levels of dark-fringe error are prevented on straight-edge.avif by avoiding double-premultiplication over a white backdrop?

Split Proof Dimensions
16x8px
Evaluated Feather Pixels
48px
Prevented Halo Error
53levels
Association Verdict
clean-straight-alphastate
Cryptographic SHA-256 & Engine Provenance
Sample Input File
straight-edge.avif · 539 bytes · CC0-1.0
Browser Codec Engine
@jsquash/avif 2.1.1
Input SHA-256 Digest
a039b26cae70db41f8d470bc17f1bc0750d87dcf0b7082d9ef4308ce6c1ea77c
Engine Artifact SHA-256
5c35dde23dfd862088a49a6b8a9fe81f9f9a1a46aaa27de7efd7baa7611c4b47
Reference Verification
Linear Porter-Duff Reference 1.0
Schema & Preset ID
avif.aviftopngtool.avif-edge-proof.v1 · avif-edge-halo-proof · proj-black-white-split-halo

Diagnosing Dark Cutout Fringes Caused by Double-Premultiplied AVIF Alpha

How Premultiplied vs. Straight Alpha Mismatches Create Gray Borders

Dark gray halos around anti-aliased logos and hair masks almost always stem from multiplying straight RGB channels by alpha/255 twice. If an encoder already stored premultiplied samples without setting the ISO iref prem box—or if a buggy converter multiplies straight auxiliary alpha pixels a second time during export—every 50% transparent pixel loses half of its foreground energy, shifting bright red (255, 0, 0) at alpha 128 down toward muddy maroon over white.

This diagnostic renders a paired 2W x H split proof image placing your asset over #000000 on the left and #ffffff on the right in linear light, while calculating exact per-column RGB deltas against a simulated double-premultiplication defect. If your source file was mistakenly premultiplied upstream without metadata, switching Alpha Policy to Unpremultiply Once immediately restores clean edge luminance.

  • Measures exact 8-bit code-level darkening prevented across semi-transparent alpha gradients.
  • Renders an instant 2x-wide black/white split PNG for visual QA sign-off.
  • Allows interactive toggling between Keep Straight RGBA and Unpremultiply Once recovery.

Common Questions & Answers

How do I recognize already-premultiplied pixels lacking an iref prem flag?

Over the white half of the split preview, semi-transparent edges will exhibit a dark charcoal halo where RGB values never exceed the alpha byte.

Can this tool repair an AVIF whose RGB was premultiplied once without metadata?

Yes. Select "Unpremultiply Once" in the Alpha Policy control to divide non-zero alpha pixels back to straight RGB exactly once.

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.