update readme

This commit is contained in:
chflame163
2024-02-16 20:34:51 +08:00
parent 2c79830681
commit f56431c8ae
3 changed files with 9 additions and 6 deletions
+4 -3
View File
@@ -4,7 +4,7 @@ A set of nodes for ComfyUI that can composite layer and mask to achieve Photosho
It migrate some basic functions of PhotoShop to ComfyUI, aiming to centralize the workflow and reduce the frequency of software switching.
![image](image/title.png)
<font size="2">*this workflow (title_example_workflow.json) is in the workflow directory. </font><br />
<font size="1">*this workflow (title_example_workflow.json) is in the workflow directory. </font><br />
Nodes are divided into 5 groups according to their functions: LayerStyle, LayerColor, LayerMask, LayerUtility and LayerFilter.
* [LayerStyle](#LayerStyle) nodes provides layer styles that mimic Adobe Photoshop.
@@ -813,13 +813,14 @@ Node options:
<sup>2</sup> The mask not a mandatory input item. the alpha channel of the image is used by default. If the image input does not include an alpha channel, the entire image's alpha channel will be automatically created. if have masks input simultaneously, the alpha channel will be overwrite by the mask.
<sup>3</sup> The <a id="table1">blend</a> mode include **normal, multply, screen, add, subtract, difference, darker, color_burn, color_dodge, linear_burn, linear_dodge, overlay, soft_light, hard_light, vivid_light, pin_light, linear_light, and hard_mix.** all of 19 blend modes in total.
![image](image/blend_mode_result.png)
<font size="1">*Preview of the blend mode </font><br />
<sup>4</sup> The RGB color described by hexadecimal RGB format, like '#FA3D86'.
<sup>5</sup> The layer_image and layer_mask must be of the same size.
<sup>3</sup> Preview of the blend mode
![image](image/blend_mode_result.png)
## Example workflow
+5 -3
View File
@@ -2,7 +2,7 @@
一组为ComfyUI设计的节点,可以合成图层达到类似Photoshop的功能。这些节点将PhotoShop的一部分基本功能迁移到ComfyUI,旨在集中工作流程,减少软件切换的频率。
![image](image/title.png)
<font size="2">*此图工作流(title_example_workflow.json) 在 workflow 目录中. </font><br />
<font size="1">*此图工作流(title_example_workflow.json) 在 workflow 目录中. </font><br />
节点按照功能分为5组:LayerStyle, LayerColor, LayerMask, LayerUtility和LayerFilter。
* [LayerStyle](#LayerStyle)节点组提供仿照Adobe Photoshop的图层样式。
@@ -794,10 +794,12 @@ mask
<sup>1</sup> image、mask和background_image(如果有输入)这三项必须是相同的尺寸。
<sup>2</sup> mask不是必须的输入项,默认使用image的alpha通道,如果image输入不包含alpha通道将自动创建整个图像的alpha通道。如果输入mask,原本的alpha通道将被mask覆盖。
<sup>3</sup> <a id="table1">混合模式</a>包括normal、multply、screen、add、subtract、difference、darker、lighter、color_burn、color_dodge、linear_burn、linear_dodge、overlay、soft_light、hard_light、vivid_light、pin_light、linear_light、hard_mix, 共19种混合模式
![image](image/blend_mode_result.png)
<font size="1">*混合模式预览</font><br />
<sup>4</sup> 颜色使用16进制RGB字符串格式描述,例如 '#FA3D86'。
<sup>5</sup> image和mask这两项必须是相同的尺寸。
<sup>3</sup> 混合模式预览
![image](image/blend_mode_result.png)
## 使用示例
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB