diff options
| author | Bobby <[email protected]> | 2026-03-11 00:46:07 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-03-11 00:46:07 +0530 |
| commit | 40002be1cf4b301e5ae80cc302032bd863a09eb0 (patch) | |
| tree | c5722abe0852d0d39e528337ceba018b08b56d90 | |
| parent | e65991cbd861414feb8b9e246bfbac06de3de154 (diff) | |
| download | pagoda-40002be1cf4b301e5ae80cc302032bd863a09eb0.tar.xz pagoda-40002be1cf4b301e5ae80cc302032bd863a09eb0.zip | |
fix: add missing image format imports for JPEG and WEBP
| -rw-r--r-- | shrine/services/thumbnail.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shrine/services/thumbnail.go b/shrine/services/thumbnail.go index 6f4e8f2..a2ff5f0 100644 --- a/shrine/services/thumbnail.go +++ b/shrine/services/thumbnail.go @@ -5,6 +5,7 @@ import ( "context" "fmt" "image" + _ "image/jpeg" "image/png" "shrine/repositories" "shrine/utils/logger" @@ -13,6 +14,7 @@ import ( "github.com/chromedp/chromedp" "golang.org/x/image/draw" + _ "golang.org/x/image/webp" ) const ( |
