feat(图像解码): 支持JBIG2解码

This commit is contained in:
2026-01-01 23:29:33 +08:00
parent 536506b615
commit e2760f0814
15 changed files with 26 additions and 20 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2025 肖其顿 (XIAO QI DUN)
// Copyright 2025-2026 肖其顿 (XIAO QI DUN)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@ import (
"github.com/tdewolff/canvas/renderers"
"github.com/tdewolff/canvas/renderers/pdf"
"github.com/tdewolff/canvas/renderers/rasterizer"
_ "github.com/xiaoqidun/jbig2"
)
// Renderer 渲染器实现