feat(压缩编辑): 优化图片压缩与编辑链接
build.yaml / build (push) Successful in 46s

This commit is contained in:
xiaoqidun committed 2026-10-09 17:52:25 +08:00
1 parent 9856dd3bd5
commit 31ba6752cf
14 files changed
+802 -63

No files matched your search

+1 -1
View File
@@ -493,7 +493,7 @@ func (p *pdfImporter) appendRasterGroup(img image.Image, box Box, opacity float6
if err := p.ctx.Err(); err != nil {
return err
}
id, err := p.editor.AddImage(data.Bytes())
id, err := p.editor.addDecodedImage(data.Bytes(), img)
if err != nil {
return err
}