feat(batch-export): 新增批量出图插件 1.1.0(本地抠图 + 白底/透明 + 双版本 + ZIP)
- 资源中心面板:参数区 + 待处理节点列表(30px 缩略图)+ 进度条 + 开始出图 + 导出 ZIP - 串行跑节点,可选走本机抠图服务(默认 http://localhost:30092/rmbg) - 每个节点白底/透明合成后按格式/质量/体积上限编码,双版本时输出两个文件 - 自写 STORE 模式 ZIP(流式 CRC32 + UTF-8 文件名 bit 11),不依赖外部库以符合 CSP - 修复:布尔属性走 property 赋值为准(setAttribute('checked','false') 仍算勾选) - 修复:MutationObserver 监测宿主容器,切 tab 时自动摘除面板,避免串页 - 修复:mount 时给宿主容器补 inline 宽度,面板撑满半屏 - 修复:makeSrcThumb/fillSrcThumbs 移入 setup(ctx) 作用域(原先访问到未定义的 ctx 被 catch 吞掉) - .gitignore 忽略 .workbuddy/ 工作目录
This commit is contained in:
1 parent
a4701746e1
commit
605dc55fc9
6 files changed
+1814
No files matched your search
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "@iwb-plugin/batch-export",
|
||||
"private": true,
|
||||
"version": "1.1.0",
|
||||
"description": "批量出图:资源中心面板里勾选 ref 节点,串行跑(可选本机抠图)→ 白底/透明合成 → 双版本编码 → 打包 ZIP 下载",
|
||||
"ibwPlugin": {
|
||||
"id": "batch-export",
|
||||
"entry": "src/index.js",
|
||||
"apiVersion": 1
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user