mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-29 12:42:46 +00:00
Support WebP based thumbnails (#2033)
Co-authored-by: Felix Freeman <libsys@hacktivista.org>
This commit is contained in:
parent
fbd1a0ab13
commit
1ec5b0709b
3 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,10 @@ import (
|
|||
|
||||
// Imported for png codec
|
||||
_ "image/png"
|
||||
|
||||
// Imported for webp codec
|
||||
_ "golang.org/x/image/webp"
|
||||
|
||||
"os"
|
||||
"time"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue