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

This commit is contained in:
xiaoqidun committed 2026-07-23 20:22:10 +08:00
1 parent c4f7c448f8
commit 0784a404f8
12 files changed
+1214 -407

No files matched your search

+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"