-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for .avif file format #151
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Comments
gabriel-vasile
added
enhancement
New feature or request
help wanted
Extra attention is needed
good first issue
Good for newcomers
labels
Apr 19, 2021
I took a stab at this: #160 |
it's wrong result: package main
import (
"fmt"
"github.com/gabriel-vasile/mimetype"
)
func main() {
files := []string{
"testdata/avif.avif", // application/octet-stream
"testdata/avifsequence.avif", // application/octet-stream
}
for _, p := range files {
mtype, _ := mimetype.DetectFile(p)
fmt.Println(mtype.String())
}
}
Env:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
image/avif .avif
...
https://www.iana.org/assignments/media-types/image/avif
https://en.wikipedia.org/wiki/AV1#AV1_Image_File_Format_(AVIF)
The text was updated successfully, but these errors were encountered: