Skip to content

Conversation

@rpuneet
Copy link
Contributor

@rpuneet rpuneet commented Feb 7, 2026

Summary

  • Extend HEIC parser to detect and parse AVIF image files
  • AVIF uses the same ISOBMFF container as HEIC (only codec differs)
  • Added AVIF brand codes: avif, avis, av01
  • All existing HEIC parsing logic works for AVIF (EXIF, XMP, ICC extraction)

Why extend HEIC instead of separate parser?

AVIF and HEIC share identical container structure (ISO Base Media File Format). Only the image codec differs (AV1 vs HEVC). Creating a separate parser would duplicate 100% of the parsing logic for no benefit.

Closes #1 (work-001)

Test plan

  • All existing HEIC tests pass
  • New brand detection tests for AVIF brands
  • Need real AVIF test files for integration testing

🤖 Generated with Claude Code

Extend the HEIC parser to also detect and parse AVIF image files.
Both formats use the same ISOBMFF container structure, differing only
in the image codec (HEVC vs AV1). The parser now recognizes AVIF
brand codes: avif, avis, av01.

Closes #1 (work-001)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Feb 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rpuneet rpuneet merged commit c08e7c9 into main Feb 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant