refactor(重构代码): 提升代码质量

This commit is contained in:
2026-07-23 20:22:10 +08:00
parent c4f7c448f8
commit 0784a404f8
12 changed files with 1214 additions and 407 deletions
+4
View File
@@ -20,9 +20,13 @@ import (
"fmt"
"image"
"image/color"
// 注册GIF图片解码器
_ "image/gif"
canvasimage "github.com/tdewolff/canvas/image"
// 注册扩展图片解码器
_ "github.com/xiaoqidun/jbig2"
_ "golang.org/x/image/bmp"
_ "golang.org/x/image/tiff"