aboutsummaryrefslogtreecommitdiff
path: root/go/images/resizing.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/images/resizing.go')
-rw-r--r--go/images/resizing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/images/resizing.go b/go/images/resizing.go
index f5077c1fd..6e774e1db 100644
--- a/go/images/resizing.go
+++ b/go/images/resizing.go
@@ -25,7 +25,7 @@ func Resized(ext string, data []byte, width, height int) (resized []byte) {
switch ext {
case ".png":
png.Encode(&buf, dstImage)
- case ".jpg":
+ case ".jpg", ".jpeg":
jpeg.Encode(&buf, dstImage, nil)
case ".gif":
gif.Encode(&buf, dstImage, nil)