aboutsummaryrefslogtreecommitdiff
path: root/weed/images/preprocess.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/images/preprocess.go')
-rw-r--r--weed/images/preprocess.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/images/preprocess.go b/weed/images/preprocess.go
index 968cda44f..4563df7f4 100644
--- a/weed/images/preprocess.go
+++ b/weed/images/preprocess.go
@@ -18,10 +18,10 @@ func MaybePreprocessImage(filename string, data []byte, width, height int) (resi
ext = strings.ToLower(ext)
switch ext {
case ".png", ".gif", ".webp":
- return Resized(ext, data, width, height)
+ return Resized(ext, data, width, height, "")
case ".jpg", ".jpeg":
data = FixJpgOrientation(data)
- return Resized(ext, data, width, height)
+ return Resized(ext, data, width, height, "")
}
return data, 0, 0
}