Directory Structure and README Update

目录结构和readme修改
This commit is contained in:
fujammy
2024-12-26 00:23:30 +08:00
parent 1610fce3f4
commit 50117f54e6
7 changed files with 46 additions and 47 deletions
+40 -40
View File
@@ -16,45 +16,10 @@ A collection of utility nodes designed for ComfyUI, offering convenient image pr
## 🎯 Nodes
### 📝Text
#### TextCombiner
A text combiner that merges multiple text inputs into a single output.
Features:
- Dynamic Inputs: Automatically adds new input points when connected
- Flexible Separators:
- Supports regular expressions
- Supports escape characters (e.g., \n, \r)
- Uses space as separator when left empty
- Smart Line Breaks: Automatically splits output by lines when separator contains line breaks
- Auto Filtering: Removes empty lines while preserving whitespace content
Usage Examples:
1. Basic Usage:
- Using comma as separator: `,`
- Output: text1, text2, text3
2. Line Break Separator:
- Using newline: `\n`
- Output:
```
text1
text2
text3
```
3. Mixed Separator:
- Using comma or newline: `,|\n`
- Supports both separation methods
4. Empty Separator:
- Leave empty
- Directly connects texts with spaces
### Image Resolution Adjuster
A utility node for adjusting image resolutions according to SDXL optimal aspect ratios.
![Image Resolution Adjuster Settings](docment/images/image_resolution_adjuster01.png)
![Image Resolution Adjuster Settings](docs/images/image_resolution_adjuster01.png)
Features:
- Supports all SDXL optimal resolutions:
@@ -124,16 +89,51 @@ Use Cases:
- Standardizing text input format
Remove extra empty lines and spaces to generate text:
![Remove extra empty lines and spaces to generate text](docment/images/rm_line_and_space_cn01.png)
![Remove extra empty lines and spaces to generate text](docs/images/rm_line_and_space_cn01.png)
Remove empty lines while keeping spaces to generate text:
![Remove empty lines while keeping spaces to generate text](docment/images/rm_line_and_space_cn02.png)
![Remove empty lines while keeping spaces to generate text](docs/images/rm_line_and_space_cn02.png)
Remove spaces while keeping empty lines to generate text:
![Remove spaces while keeping empty lines to generate text](docment/images/rm_line_and_space_cn03.png)
![Remove spaces while keeping empty lines to generate text](docs/images/rm_line_and_space_cn03.png)
Remove empty lines and spaces to generate list:
![Remove empty lines and spaces to generate list](docment/images/rm_line_and_space_cn04.png)
![Remove empty lines and spaces to generate list](docs/images/rm_line_and_space_cn04.png)
### 📝TextCombiner
A text combiner that merges multiple text inputs into a single output.
Features:
- Dynamic Inputs: Automatically adds new input points when connected
- Flexible Separators:
- Supports regular expressions
- Supports escape characters (e.g., \n, \r)
- Uses space as separator when left empty
- Smart Line Breaks: Automatically splits output by lines when separator contains line breaks
- Auto Filtering: Removes empty lines while preserving whitespace content
Usage Examples:
1. Basic Usage:
- Using comma as separator: `,`
- Output: text1, text2, text3
2. Line Break Separator:
- Using newline: `\n`
- Output:
```
text1
text2
text3
```
3. Mixed Separator:
- Using comma or newline: `,|\n`
- Supports both separation methods
4. Empty Separator:
- Leave empty
- Directly connects texts with spaces
## 📝 License
+6 -7
View File
@@ -19,7 +19,7 @@
### 图像分辨率调整器 (Image Resolution Adjuster)
一个用于按照 SDXL 最佳宽高比调整图像分辨率的实用节点。
![图像分辨率调整器设置](docment/images/image_resolution_adjuster01.png)
![图像分辨率调整器设置](docs/images/image_resolution_adjuster01.png)
特点:
- 支持所有 SDXL 最佳分辨率:
@@ -89,20 +89,19 @@
- 标准化文本输入格式
清除多余的空行及空格生成文本:
![清除多余的空行及空格生成文本](docment/images/rm_line_and_space_cn01.png)
![清除多余的空行及空格生成文本](docs/images/rm_line_and_space_cn01.png)
清除空行保留空格生成文本:
![清除空行保留空格生成文本](docment/images/rm_line_and_space_cn02.png)
![清除空行保留空格生成文本](docs/images/rm_line_and_space_cn02.png)
清除空格保留空号生成文本:
![清除空格保留空号生成文本](docment/images/rm_line_and_space_cn03.png)
![清除空格保留空号生成文本](docs/images/rm_line_and_space_cn03.png)
清除空行、空格生成列表:
![清除空行、空格生成列表](docment/images/rm_line_and_space_cn04.png)
![清除空行、空格生成列表](docs/images/rm_line_and_space_cn04.png)
### 📝Text
#### TextCombiner
### 📝文本组合器(TextCombiner)
文本组合器,可以将多个文本输入组合成一个文本输出。
功能特点:

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 166 KiB

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 160 KiB

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 164 KiB

Before

Width:  |  Height:  |  Size: 257 KiB

After

Width:  |  Height:  |  Size: 257 KiB