mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 06:14:22 +01:00
Support webp and gif for profile's pic
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"image"
|
||||
"image/color"
|
||||
"image/draw"
|
||||
_ "image/gif"
|
||||
"math"
|
||||
"net/http"
|
||||
"net/url"
|
||||
@@ -14,6 +15,8 @@ import (
|
||||
"time"
|
||||
"unicode"
|
||||
|
||||
_ "golang.org/x/image/webp"
|
||||
|
||||
"github.com/fogleman/gg"
|
||||
"github.com/go-text/typesetting/di"
|
||||
"github.com/go-text/typesetting/font"
|
||||
|
||||
Reference in New Issue
Block a user