ComfyUI_imgcanvas At present, I have not used the useful comfyui custom node about layer mixing, and I have written a comfyui runtime automatic pop-up window for layer editing node
# ComfyUI_imgcanvas
At present, I have not used the useful comfyui custom node about layer mixing, and I have written a comfyui runtime automatic pop-up window for layer editing node
想了很久,这个项目就叫layersDiccc哦算了,imgcanvas吧。 一个用于 ComfyUI 的交互式图像编辑节点扩展,提供了直观的 Web 画布界面,支持图像的实时编辑、混合和蒙版操作。 非pyqt项目,鉴于macos上运行pyqt项目总是莫名其妙出现一堆问题,我使用js和python后台进行了前后端项目的重构。
custom_nodes
目录git clone [repository_url]
back_image
: 背景图像fore_image
: 前景图像fore_mask
(可选): 前景蒙版seed
: 随机种子值变换控制:
工具按钮:
快捷键:
R
: 重置变换←
/→
: 旋转调整+
/-
: 缩放调整Enter
: 确认编辑Esc
: 取消编辑输入:
back_image
: IMAGE 类型,背景图像fore_image
: IMAGE 类型,前景图像fore_mask
: MASK 类型(可选),前景蒙版seed
: INT 类型,随机种子值输出:
image
: IMAGE 类型,编辑后的图像mask
: MASK 类型,生成的蒙版WebCanvasNode
: 核心节点类,处理图像处理和数据流TransformBox
: 前端变换控制组件,处理用户交互dialog.js
: Web 界面实现,包含所有交互逻辑感谢前辈的一些源代码贡献,实在忘记了哪个项目。
欢迎提交 Issue 和 Pull Request 来改进这个项目。在提交代码前,请确保:
[许可证类型]