diff --git a/pkg/modules/background/handler/background.go b/pkg/modules/background/handler/background.go index 6c8a8a2f..282e0578 100644 --- a/pkg/modules/background/handler/background.go +++ b/pkg/modules/background/handler/background.go @@ -18,9 +18,9 @@ package handler import ( "image" - _ "image/gif" - _ "image/jpeg" - _ "image/png" + _ "image/gif" // To make sure the decoder used for generating blurHashes recognizes gifs + _ "image/jpeg" // To make sure the decoder used for generating blurHashes recognizes jpgs + _ "image/png" // To make sure the decoder used for generating blurHashes recognizes pngs "io" "net/http" "strconv"