h2non / filetype

Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature

Home Page:https://pkg.go.dev/github.com/h2non/filetype?tab=doc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HEIF support

rikonor opened this issue · comments

Hi!

Do you have any plans to add a matcher for the HEIF image format?

commented

Yeah, it was already supported in Python mirror package:
https://github.com/h2non/filetype.py

If you are interested, feel free to provide a PR. That would be faster.

Hey @h2non, thanks for the quick reply! I ported over the logic from your Python library. Here's the PR: #60

commented

Thanks! Merged.