properly support tga and webp images
This commit is contained in:
@@ -71,6 +71,15 @@ var Valid = []FileDescription{
|
||||
OSTypes: []string{"TIFF"},
|
||||
ItemContentTypes: "public.tiff",
|
||||
},
|
||||
{
|
||||
TkTypeName: "WEBP",
|
||||
MacExtensions: []string{"webp", "WEBP"},
|
||||
IconFile: "webp.icns",
|
||||
MIMETypes: []string{"image/webp"},
|
||||
TypeName: "WebP Image",
|
||||
OSTypes: []string{"WEBP"},
|
||||
ItemContentTypes: "org.webmproject.webp",
|
||||
},
|
||||
}
|
||||
|
||||
func GetTkTypes(fds []FileDescription) []tk.FileType {
|
||||
@@ -86,7 +95,3 @@ func GetTkTypes(fds []FileDescription) []tk.FileType {
|
||||
}
|
||||
return fts
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println("test")
|
||||
}
|
||||
|
Reference in New Issue
Block a user