diff options
| author | Chris Lu <chris.lu@gmail.com> | 2017-05-28 10:25:40 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2017-05-28 10:25:40 -0700 |
| commit | 83efe1547d38acabf92ed53e7e31189eab992ed7 (patch) | |
| tree | a7b6971e44c45ee4cc8e1113d8166c3b3c4b4275 /weed/images/preprocess.go | |
| parent | 48919009fc54fc93c25ad21ce3a48d80b93d32e6 (diff) | |
| download | seaweedfs-0.76.tar.xz seaweedfs-0.76.zip | |
revert webp support due to "go test"0.76
related to https://github.com/chai2010/webp/issues/9
Diffstat (limited to 'weed/images/preprocess.go')
| -rw-r--r-- | weed/images/preprocess.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/images/preprocess.go b/weed/images/preprocess.go index 4563df7f4..56f14eaa4 100644 --- a/weed/images/preprocess.go +++ b/weed/images/preprocess.go @@ -17,7 +17,7 @@ func MaybePreprocessImage(filename string, data []byte, width, height int) (resi ext := filepath.Ext(filename) ext = strings.ToLower(ext) switch ext { - case ".png", ".gif", ".webp": + case ".png", ".gif": return Resized(ext, data, width, height, "") case ".jpg", ".jpeg": data = FixJpgOrientation(data) |
