Support WebP based thumbnails (#2033)

Co-authored-by: Felix Freeman <libsys@hacktivista.org>
This commit is contained in:
hacktivista 2021-11-02 10:15:13 +00:00 committed by GitHub
parent fbd1a0ab13
commit 1ec5b0709b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View file

@ -27,6 +27,10 @@ import (
// Imported for png codec
_ "image/png"
// Imported for webp codec
_ "golang.org/x/image/webp"
"os"
"time"