Categorygithub.com/dsoprea/go-heic-exif-extractor
modulepackage
0.0.0-20210512044107-62067e44c235
Repository: https://github.com/dsoprea/go-heic-exif-extractor.git
Documentation: pkg.go.dev

# README

Build Status codecov Report Card GoDoc

Overview

This project invokes a third-party project to parse HEIC/HEIF (ISO 23008-12) content and extract an EXIF blob and then invokes go-exif to parse that EXIF blob. It satisfies the riimage.MediaParser interface and exists to provide HEIC/HEIF support to the go-exif-knife tool.

Examples

See the GoDoc page for usage examples.

# Functions

NewHeicExifMediaParser returns a new HeicExifMediaParser instance.

# Constants

HeicMimeType describes the theoretical, official HEIC mime-type (theoretical because it's not ubiquitously supported/known in tooling, yet).
MinimumHeicStreamLengthForDetection describes the minimum amount of data required to detect HEIC content.

# Variables

HeicBrands is the list of MP4 brands that are associated with HEIC streams.

# Structs

HeicExifMediaParser satisfies the `riimage.MediaParser` interface.

# Type aliases

HeicExifContext is just a simple type-alias for a byte-array.