mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
e5f34c6ea6
commit
34e17383f1
4 files changed
+35
-5
No files matched your search
+1
-1
@@ -469,7 +469,7 @@ func (e *Editor) ResizePages(indexes []int, width, height float64) error {
|
||||
}
|
||||
|
||||
// AddImage 注册PNG、JPEG、BMP、单页TIFF或JBIG2图片,重复资源复用标识,引用后写入文档
|
||||
// 不透明纯黑白PNG仅在无损JBIG2编码更小时转换,其他图片保留原始编码
|
||||
// 不透明纯黑白PNG仅在不含附加信息且无损JBIG2编码更小时转换,其他图片保留原始编码
|
||||
// 入参: data 图片数据
|
||||
// 返回: string 图片资源标识, error 错误信息
|
||||
func (e *Editor) AddImage(data []byte) (string, error) {
|
||||
|
||||
Reference in new issue
Block a user