Embedded Thumbnail ExtractorSelect hidden thmb item handle, decode clean-aperture preview PNG

HEIC Embedded Thumbnail (thmb) Inspector

Isolate hidden `thmb` preview items inside HEIC containers, compare clean-aperture thumbnail dimensions against the master still, and detect stale-crop mismatches.

Drop iPhone HEIC photos here — upright & private

30 MB / 48 MP per photo · stays on your device · Burst series & Live Photo stills supported.

Save As:
Burst Selection, JPG Quality & Batch Naming
Verified Sample · CC0-1.0Sample file: rotated-aux-thumb.heic (12.3 KB)

Verified Sample Result & Instant Demo

Try Sample File in 1 Click

How is the embedded preview structured inside rotated-aux-thumb.heic? Hidden Item ID 2 links via thmb to Master ID 1, cropping 16×16 HEVC storage through clap (8/1 × 6/1) to an 8×6 preview (263-byte PNG).

Thumbnail Item ID
2id
Referenced Master ID
1id
Decoded Thumbnail Size
8×6px
Coded HEVC Block Size
16×16px
Cryptographic SHA-256 & Engine Provenance
Sample Input File
rotated-aux-thumb.heic · 12597 bytes · CC0-1.0
Browser Codec Engine
libheif-js 1.23.5
Input SHA-256 Digest
91e51edd3139e2e4ae03b276b46ba40f6b5b7b6de619cbe2fc42155311f8c809
Engine Artifact SHA-256
095194187be00d3e36335b8ad7f5552d70655e5e2159486d7d36cd4daa47bba9
Reference Verification
ISO/IEC 23008-12 thmb + clap 2022
Schema & Preset ID
heic.heictopngtool.heic-thumbnail-inspector.v1 · inspect-thmb-preview · proj-c-thmb-preview

How HEIC Containers Store Separate HEVC Thumbnail Items & Clean Aperture Crops

Why HEIF Uses `iref` `thmb` Items Instead of EXIF IFD1 JPEGs

In classic JPEG files, camera previews sit inside TIFF IFD1 as tiny 160×120 baseline JPEGs. In ISO/IEC 23008-12 HEIC files, iOS stores the fast gallery thumbnail as its own dedicated hvc1 item marked hidden in iinf and bound to the full-size photo via a thmb entry inside ItemReferenceBox (iref).

Because HEVC minimum coding tree blocks pad tiny dimensions up to multiples of 16 pixels, small thumbnails attach a CleanApertureBox (clap) in ipma to crop decoded pixels back to exact aspect-accurate dimensions. In rotated-aux-thumb.heic, Item ID 2 is coded in a 16×16 HEVC block and cropped by Property 7 (clap) to 8×6 pixels.

  • Fetches the hidden thumbnail handle directly by item ID via libheif context inspection.
  • Privacy note: cropped photos edited poorly can retain uncropped pre-edit pixels inside stale thmb items.
  • Falls back gracefully to the primary image while reporting thumbnailCount=0 when no preview exists.

Auditing Privacy & Aspect Mismatches Between Preview and Master

Comparing thumbnail aspect ratio (8×6 landscape) against Master Item 1 post-irot display dimensions (24×32 portrait) immediately reveals whether a preview omitted the master rotation property—explaining why certain file managers show a sideways icon until the full photo opens.

Common Questions & Answers

Does converting a HEIC to PNG or JPG on other routes carry over old embedded thumbnails?

Never. Our PNG and JPEG encoders build fresh single-image files with empty IFD1 thumbnail tables, eliminating any risk of leaking uncropped thumbnail previews.

Why does ispe show 16×16 while the decoded thumbnail PNG is 8×6?

HEVC intra coding enforces minimum coding unit dimensions (16×16 here), and the mandatory clap property crops the displayed rectangle to 8×6.

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 30 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
30 MB
Cross-Origin Isolation
Single-Thread WASM

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