chore: remove lines left over from imagemagick
This commit is contained in:
parent
ab39f64ad5
commit
0ce6453bf7
|
@ -21,11 +21,6 @@ import (
|
||||||
"github.com/chai2010/webp"
|
"github.com/chai2010/webp"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
|
||||||
webpArgs = []string{"-thumbnail", "512x512^", "-gravity", "center", "-background", "none", "-extent", "512x512", "-quality", "90", "webp:-"}
|
|
||||||
jpgArgs = []string{"-thumbnail", "512x512^", "-gravity", "center", "-extent", "512x512", "-quality", "80", "jpg:-"}
|
|
||||||
)
|
|
||||||
|
|
||||||
const ErrInvalidDataURI = errors.Sentinel("invalid data URI")
|
const ErrInvalidDataURI = errors.Sentinel("invalid data URI")
|
||||||
const ErrInvalidContentType = errors.Sentinel("invalid avatar content type")
|
const ErrInvalidContentType = errors.Sentinel("invalid avatar content type")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue