Extracting Every Frame from Multi-Item HEIF Burst & Bracketing Containers
Why Standard HEIC Libraries Lose Secondary Burst Stills
Wrapper libraries such as heic-to hardcode a lookup for the primary handle and immediately release every other image handle in the container. When a photographer shoots an action burst, exposure bracket, or multi-angle sequence stored inside one .heic file, single-handle wrappers throw away every alternate shot without warning.
Our burst extractor pairs a TypeScript iinf/iref container audit with full HeifDecoder.decode() enumeration in libheif-js. Every unhidden top-level hvc1 item is decoded independently, excluding hidden thmb previews and auxl depth maps so you get genuine full-resolution stills rather than tiny thumbnails mixed into your gallery.
- Displays exact container Item ID, enumeration index, and Primary (pitm) badge per frame.
- Applies item-scoped orientation rules so rotated frames stand upright automatically.
- Download any individual burst shot as PNG/JPG for free or bundle all shots into a ZIP.
Distinguishing Top-Level Stills from Derived Grid Tiles
High-resolution iOS captures sometimes tile an image across multiple hidden hvc1 grid cells linked by dimg item references. Because those tile items carry the infe hidden flag (bit 0 = 1), neither our ISOBMFF top-level counter nor libheif top-level ID enumeration mistakes internal tiles for separate burst photographs.