There was an error while loading. Please reload this page.
1 parent dbc8a21 commit fab1986Copy full SHA for fab1986
1 file changed
services/thumbnails/pkg/thumbnail/mimetypes_vips.go
@@ -2,15 +2,6 @@
2
3
package thumbnail
4
5
-import "github.com/davidbyttow/govips/v2/vips"
6
-
7
-func init() {
8
- // temporary remove TIFF and JP2K from go-vips' list of supported
9
- // imagetypes
10
- delete(vips.ImageTypes, vips.ImageTypeTIFF)
11
- delete(vips.ImageTypes, vips.ImageTypeJP2K)
12
-}
13
14
var (
15
// SupportedMimeTypes contains an all mimetypes which are supported by the thumbnailer.
16
SupportedMimeTypes = map[string]struct{}{
@@ -20,6 +11,7 @@ var (
20
"image/gif": {},
21
"image/bmp": {},
22
"image/x-ms-bmp": {},
+ "image/tiff": {},
23
"text/plain": {},
24
"audio/flac": {},
25
17
"audio/mpeg": {},
0 commit comments