revert webp support due to "go test"
related to https://github.com/chai2010/webp/issues/9
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user