https://github.com/lgldlk/ComfyUI-PSD-Replace
https://github.com/lgldlk/ComfyUI-PSD-Replace
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lgldlk/ComfyUI-PSD-Replace
- Owner: lgldlk
- Created: 2025-03-07T16:25:11.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-03-15T07:03:24.000Z (3 months ago)
- Last Synced: 2025-03-15T08:18:35.649Z (3 months ago)
- Language: JavaScript
- Size: 241 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI-PSD-Replace**
README
# ComfyUI-PSD-Replace
一键替换psd中的智能对象或者图层

替换源文件例子如下

[例子](./assets/example_psd_replace.json)## 安装方法
1. 安装node环境
2. 安装canvas 所需的环境,详情见https://www.npmjs.com/package/canvas3.
```
git clone [email protected]:lgldlk/ComfyUI-PSD-Replace.git
cd ComfyUI-PSD-Replace
npm install
```#### 为什么需要node环境
在python中我没有找到合适的库,所以需要node环境来处理psd文件,如果有人知道python中可以更换psd图层的库,欢迎告诉我。