-
Notifications
You must be signed in to change notification settings - Fork 257
Closed
Description
你当前使用的版本
v1.1.1
描述一下此特性
简体中文:
上传 WebP 图像时系统提示 ”Handle srcImage error“
因为 image.Decode() 不支持 WebP,应该匹配后缀并使用 ”golang.org/x/image/webp“ 进行解析
同时我觉得可以用标准库 "image/draw" 替换 "github.com/disintegration/imaging",毕竟官方总是比第三方年久失修的好
如果你同意这些,我可以提交 PR,只需要花一点时间
English:
When I upload some webp images, I got "Handle srcImage error"
Because image.Decode() doesn't support webp, need match suffix and use ”golang.org/x/image/webp“
And I think use "image/draw" to replace "github.com/disintegration/imaging", official package always better than 3rd right?
If you agree this, I can submit PR, give me some times.
附加信息
No response
Metadata
Metadata
Assignees
Labels
No labels