We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1edb141 commit 1784a9bCopy full SHA for 1784a9b
matchers/image.go
@@ -14,7 +14,7 @@ var (
14
TypeJxr = newType("jxr", "image/vnd.ms-photo")
15
TypePsd = newType("psd", "image/vnd.adobe.photoshop")
16
TypeIco = newType("ico", "image/x-icon")
17
- TypeHeic = newType("heic", "image/heic")
+ TypeHeif = newType("heif", "image/heif")
18
)
19
20
var Image = Map{
@@ -29,7 +29,7 @@ var Image = Map{
29
TypeJxr: Jxr,
30
TypePsd: Psd,
31
TypeIco: Ico,
32
- TypeHeic: Heic,
+ TypeHeif: Heif,
33
}
34
35
func Jpeg(buf []byte) bool {
@@ -111,7 +111,7 @@ func Ico(buf []byte) bool {
111
buf[2] == 0x01 && buf[3] == 0x00
112
113
114
-func Heic(buf []byte) bool {
+func Heif(buf []byte) bool {
115
if !isobmff.IsISOBMFF(buf) {
116
return false
117
0 commit comments