update readme

This commit is contained in:
chflame163
2024-01-22 17:34:47 +08:00
committed by GitHub
parent 9ec7d6c9c6
commit 3814163c47
2 changed files with 22 additions and 23 deletions
+11 -11
View File
@@ -51,7 +51,7 @@ Node options:
* grow: Shadow expansion amplitude.
* blur: Shadow blur level.
* shadow_color<sup>4</sup>: Shadow color.
[note](#Annotation)
*[note](#Annotation)
### <a id="table1">OuterGlow</a>
@@ -71,7 +71,7 @@ Node options:
* blur:blur of glow.
* light_color<sup>4</sup>: Center part color of glow.
* glow_color<sup>4</sup>: Edge part color of glow.
[note](#Annotation)
*[note](#Annotation)
### <a id="table1">InnerShadow</a>
@@ -91,7 +91,7 @@ Node options:
* grow: Shadow expansion amplitude.
* blur: Shadow blur level.
* shadow_color<sup>4</sup>: Shadow color.
[note](#Annotation)
*[note](#Annotation)
### <a id="table1">InnerGlow</a>
@@ -111,7 +111,7 @@ Node options:
* blur:blur of glow.
* light_color<sup>4</sup>: Center part color of glow.
* glow_color<sup>4</sup>: Edge part color of glow.
[note](#Annotation)
*[note](#Annotation)
### <a id="table1">Stroke</a>
@@ -129,7 +129,7 @@ Node options:
* stroke_grow: Stroke expansion/contraction amplitude, positive values indicate expansion and negative values indicate contraction.
* stroke_width: Stroke width.
* stroke_color<sup>4</sup>: Stroke color, described in hexadecimal RGB format.
[note](#Annotation)
*[note](#Annotation)
### <a id="table1">GradientOverlay</a>
@@ -148,7 +148,7 @@ Node options:
* end_color: Color at the end of the gradient.
* end_alpha: Transparency at the end of the gradient.
* angle: Gradient rotation angle.
[note](#Annotation)
*[note](#Annotation)
### <a id="table1">ColorOverlay</a>
@@ -164,7 +164,7 @@ Node options:
* blend_mode<sup>3</sup>: Blending mode of color.
* opacity: Opacity of stroke.
* color: Color of overlay.
[note](#Annotation)
*[note](#Annotation)
@@ -211,7 +211,7 @@ Node options:
* rotate: Layer rotation degree.
* Sampling methods for layer enlargement and rotation, including lanczos, bicubic, hamming, bilinear, box and nearest. Different sampling methods can affect the image quality and processing time of the synthesized image.
* anti_aliasing: Anti aliasing, ranging from 0 to 16, the larger the value, the less obvious the aliasing. An excessively high value will significantly reduce the processing speed of the node.
[note](#Annotation)
*[note](#Annotation)
### <a id="table1">ImageBlend</a>
A simple node for composit layer image and background image, multiple blend modes are available for option, and transparency can be set.
@@ -225,7 +225,7 @@ Node options:
* invert_mask: Whether to reverse the mask.
* blend_mode<sup>3</sup>: Blending mode.
* opacity: Opacity of blend.
[note](#Annotation)
*[note](#Annotation)
### <a id="table1">ImageOpacity</a>
Adjust image opacity
@@ -236,7 +236,7 @@ Node option:
* mask<sup>2,5</sup> : Mask input.
* invert_mask: Whether to reverse the mask.
* opacity: Opacity of image.
[note](#Annotation)
*[note](#Annotation)
### <a id="table1">ColorPicker</a>
Modify web extensions from [mtb nodes](https://github.com/melMass/comfy_mtb). Select colors on the color palette and output RGB values.
@@ -268,7 +268,7 @@ Node options:
* blur: The size of blur.
#### <a id="table1">Annotation</a> for nodes
## <a id="table1">Annotation</a> for nodes
<sup>1</sup> The layer_image, layer_mask and the background_image(if have input), These three items must be of the same size.
<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.
+11 -12
View File
@@ -47,7 +47,7 @@ ComfyUI
* grow: 阴影扩张幅度。
* blur:阴影模糊程度。
* shadow_color<sup>4</sup>: 阴影颜色。
[节点注解](#节点注解)
*[节点注解](#节点注解)
### <a id="table1">OuterGlow</a>
@@ -67,7 +67,7 @@ ComfyUI
* blur:发光模糊程度。
* light_color<sup>4</sup>: 发光中心颜色。
* glow_colo<sup>4</sup>: 辉光外围颜色。
[节点注解](#节点注解)
*[节点注解](#节点注解)
### <a id="table1">InnerShadow</a>
@@ -87,7 +87,7 @@ ComfyUI
* grow: 阴影扩张幅度。
* blur:阴影模糊程度。
* shadow_color<sup>4</sup>: 阴影颜色。
[节点注解](#节点注解)
*[节点注解](#节点注解)
### <a id="table1">InnerGlow</a>
@@ -107,7 +107,7 @@ ComfyUI
* blur:发光模糊程度。
* light_color<sup>4</sup>: 发光中心颜色。
* glow_colo<sup>4</sup>: 辉光外围颜色。
[节点注解](#节点注解)
*[节点注解](#节点注解)
### <a id="table1">Stroke</a>
@@ -125,7 +125,7 @@ ComfyUI
* stroke_grow: 描边扩张/收缩幅度,正值是扩张,负值是收缩。
* stroke_width: 描边宽度。
* stroke_color<sup>4</sup>: 描边颜色。
[节点注解](#节点注解)
*[节点注解](#节点注解)
### <a id="table1">GradientOverlay</a>
@@ -145,7 +145,7 @@ ComfyUI
* end_color: 渐变结束端的颜色。
* end_alpha: 渐变结束端的透明度。
* angle: 渐变旋转角度。
[节点注解](#节点注解)
*[节点注解](#节点注解)
### <a id="table1">ColorOverlay</a>
@@ -161,7 +161,7 @@ ComfyUI
* blend_mode<sup>3</sup>: 描边的混合模式。
* opacity: 不透明度。
* color: 覆盖的颜色。
[节点注解](#节点注解)
*[节点注解](#节点注解)
@@ -207,7 +207,7 @@ mask
* rotate: 图层旋转度数。
* transform_method: 用于图层放大和旋转的采样方法,包括lanczos、bicubic、hamming、bilinear、box和nearest。不同的采样方法会影响合成的画质和画面处理时间。
* anti_aliasing: 抗锯齿,范围从0-16,数值越大,锯齿越不明显。过高的数值将显著降低节点的处理速度。
[节点注解](#节点注解)
*[节点注解](#节点注解)
### <a id="table1">ImageBlend</a>
一个用于合成图层的简单节点,提供多种混合模式供选择,可设置透明度。
@@ -221,7 +221,7 @@ mask
* invert_mask: 是否反转遮罩。
* blend_mode<sup>3</sup>: 图层混合模式。
* opacity: 不透明度。
[节点注解](#节点注解)
*[节点注解](#节点注解)
### <a id="table1">ImageOpacity</a>
调整图像不透明度。
@@ -232,7 +232,7 @@ mask
* mask<sup>2,5</sup>: 遮罩输入。
* invert_mask: 是否反转遮罩。
* opacity: 不透明度。
[节点注解](#节点注解)
*[节点注解](#节点注解)
### <a id="table1">ColorPicker</a>
在色板上选取颜色并输出。
@@ -245,7 +245,6 @@ mask
输出:
* string
### <a id="table1">PrintInfo</a>
![image](image/print_info_node.png)
用于给工作流调试提供辅助。当运行时,任何接上这个节点的对象的属性将被打印到控制台。
@@ -265,7 +264,7 @@ mask
* angle: 模糊角度。
* blur: 模糊大小。
#### <a id="table1">节点注解</a>
## <a id="table1">节点注解</a>
<sup>1</sup> image、mask和background_image(如果有输入)这三项必须是相同的尺寸。
<sup>2</sup> mask不是必须的输入项,默认使用image的alpha通道,如果image输入不包含alpha通道将自动创建整个图像的alpha通道。如果输入mask,原本的alpha通道将被mask覆盖。
<sup>3</sup>: 混合模式包括normal、multply、screen、add、subtract、difference、darker和lighter。